pub(crate) struct BarycentricWeight<V> {
pub x: i32,
pub x_n: i32,
pub w: V,
}Fields§
§x: i32§x_n: i32§w: VImplementations§
Source§impl BarycentricWeight<f32>
impl BarycentricWeight<f32>
pub(crate) fn create_ranged_256<const GRID_SIZE: usize>() -> Box<[BarycentricWeight<f32>; 256]>
Source§impl BarycentricWeight<i16>
impl BarycentricWeight<i16>
pub(crate) fn create_ranged_256<const GRID_SIZE: usize>() -> Box<[BarycentricWeight<i16>; 256]>
Trait Implementations§
Source§impl<V: Clone> Clone for BarycentricWeight<V>
impl<V: Clone> Clone for BarycentricWeight<V>
Source§fn clone(&self) -> BarycentricWeight<V>
fn clone(&self) -> BarycentricWeight<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<V: Debug> Debug for BarycentricWeight<V>
impl<V: Debug> Debug for BarycentricWeight<V>
Source§impl<V: Default> Default for BarycentricWeight<V>
impl<V: Default> Default for BarycentricWeight<V>
Source§fn default() -> BarycentricWeight<V>
fn default() -> BarycentricWeight<V>
Returns the “default value” for a type. Read more
impl<V: Copy> Copy for BarycentricWeight<V>
Auto Trait Implementations§
impl<V> Freeze for BarycentricWeight<V>where
V: Freeze,
impl<V> RefUnwindSafe for BarycentricWeight<V>where
V: RefUnwindSafe,
impl<V> Send for BarycentricWeight<V>where
V: Send,
impl<V> Sync for BarycentricWeight<V>where
V: Sync,
impl<V> Unpin for BarycentricWeight<V>where
V: Unpin,
impl<V> UnsafeUnpin for BarycentricWeight<V>where
V: UnsafeUnpin,
impl<V> UnwindSafe for BarycentricWeight<V>where
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more