pub enum Dim {
Known(u64),
Symbolic(String),
Dynamic,
}Expand description
A dimension: either a concrete size, a symbolic name, or fully dynamic.
Variants§
Known(u64)
Known concrete size.
Symbolic(String)
Symbolic (named, constrained) dimension.
Dynamic
Fully dynamic (unknown, unnamed) dimension.
Trait Implementations§
impl Eq for Dim
impl StructuralPartialEq for Dim
Auto Trait Implementations§
impl Freeze for Dim
impl RefUnwindSafe for Dim
impl Send for Dim
impl Sync for Dim
impl Unpin for Dim
impl UnsafeUnpin for Dim
impl UnwindSafe for Dim
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