pub struct Dim<const N: usize, Rest>(/* private fields */);Trait Implementations§
Source§impl<const N: usize, Rest> NonScalarShape for Dim<N, Rest>where
Rest: TensorShape,
impl<const N: usize, Rest> NonScalarShape for Dim<N, Rest>where
Rest: TensorShape,
Source§impl<const N: usize, Rest> TensorShape for Dim<N, Rest>where
Rest: TensorShape,
impl<const N: usize, Rest> TensorShape for Dim<N, Rest>where
Rest: TensorShape,
impl<const N: usize, Rest: Copy> Copy for Dim<N, Rest>
Auto Trait Implementations§
impl<const N: usize, Rest> Freeze for Dim<N, Rest>
impl<const N: usize, Rest> RefUnwindSafe for Dim<N, Rest>where
Rest: RefUnwindSafe,
impl<const N: usize, Rest> Send for Dim<N, Rest>where
Rest: Send,
impl<const N: usize, Rest> Sync for Dim<N, Rest>where
Rest: Sync,
impl<const N: usize, Rest> Unpin for Dim<N, Rest>where
Rest: Unpin,
impl<const N: usize, Rest> UnsafeUnpin for Dim<N, Rest>
impl<const N: usize, Rest> UnwindSafe for Dim<N, Rest>where
Rest: 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