pub struct FixedShape<const N: usize>;Expand description
Fixed shape constraint
Trait Implementations§
Source§impl<const N: usize, R: Nat> ShapeConstraint<R> for FixedShape<N>
impl<const N: usize, R: Nat> ShapeConstraint<R> for FixedShape<N>
fn check_shape(shape: &[usize]) -> bool
Auto Trait Implementations§
impl<const N: usize> Freeze for FixedShape<N>
impl<const N: usize> RefUnwindSafe for FixedShape<N>
impl<const N: usize> Send for FixedShape<N>
impl<const N: usize> Sync for FixedShape<N>
impl<const N: usize> Unpin for FixedShape<N>
impl<const N: usize> UnwindSafe for FixedShape<N>
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