pub struct Dim<const N: usize>;Expand description
Type-safe dimension information
Implementations§
Trait Implementations§
impl<const N: usize> Copy for Dim<N>
impl<const N: usize> Eq for Dim<N>
impl<const N: usize> StructuralPartialEq for Dim<N>
Auto Trait Implementations§
impl<const N: usize> Freeze for Dim<N>
impl<const N: usize> RefUnwindSafe for Dim<N>
impl<const N: usize> Send for Dim<N>
impl<const N: usize> Sync for Dim<N>
impl<const N: usize> Unpin for Dim<N>
impl<const N: usize> UnwindSafe for Dim<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