Struct array_math::Padded 
source · #[repr(C)]pub struct Padded<T, const WIDTH: usize> { /* private fields */ }Implementations§
source§impl<T, const WIDTH1: usize, const WIDTH2: usize> Padded<Padded<T, WIDTH1>, WIDTH2>
 
impl<T, const WIDTH1: usize, const WIDTH2: usize> Padded<Padded<T, WIDTH1>, WIDTH2>
pub const fn flatten( self ) -> Padded<T, slice_ops::::padded::{impl#9}::flatten::{constant#1}>
pub const fn flatten_slice<const M: usize>( slice: &[Padded<Padded<T, WIDTH1>, WIDTH2>] ) -> &[Padded<T, slice_ops::::padded::{impl#9}::flatten_slice::{constant#1}>]
pub const fn flatten_mut_slice<const M: usize>( slice: &mut [Padded<Padded<T, WIDTH1>, WIDTH2>] ) -> &mut [Padded<T, slice_ops::::padded::{impl#9}::flatten_mut_slice::{constant#1}>]
Trait Implementations§
source§impl<T, const WIDTH: usize> BorrowMut<T> for Padded<T, WIDTH>
 
impl<T, const WIDTH: usize> BorrowMut<T> for Padded<T, WIDTH>
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T, const WIDTH: usize> Ord for Padded<T, WIDTH>where
    T: Ord,
 
impl<T, const WIDTH: usize> Ord for Padded<T, WIDTH>where
    T: Ord,
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<T, const WIDTH: usize> PartialEq for Padded<T, WIDTH>where
    T: PartialEq,
 
impl<T, const WIDTH: usize> PartialEq for Padded<T, WIDTH>where
    T: PartialEq,
source§impl<T, const WIDTH: usize> PartialOrd<T> for Padded<T, WIDTH>where
    T: PartialOrd,
 
impl<T, const WIDTH: usize> PartialOrd<T> for Padded<T, WIDTH>where
    T: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moresource§impl<T, const WIDTH: usize> PartialOrd for Padded<T, WIDTH>where
    T: PartialOrd,
 
impl<T, const WIDTH: usize> PartialOrd for Padded<T, WIDTH>where
    T: PartialOrd,
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
 
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for 
self and other) and is used by the <=
operator. Read moreimpl<T, const WIDTH: usize> Eq for Padded<T, WIDTH>where
    T: Eq,
Auto Trait Implementations§
impl<T, const WIDTH: usize> Freeze for Padded<T, WIDTH>where
    T: Freeze,
impl<T, const WIDTH: usize> RefUnwindSafe for Padded<T, WIDTH>where
    T: RefUnwindSafe,
impl<T, const WIDTH: usize> Send for Padded<T, WIDTH>where
    T: Send,
impl<T, const WIDTH: usize> Sync for Padded<T, WIDTH>where
    T: Sync,
impl<T, const WIDTH: usize> Unpin for Padded<T, WIDTH>where
    T: Unpin,
impl<T, const WIDTH: usize> UnwindSafe for Padded<T, WIDTH>where
    T: 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