pub enum Dimension {
Fixed(usize),
Dynamic,
Symbol(String),
}Expand description
One model dimension, fixed, unconstrained, or symbolically dynamic.
Variants§
Fixed(usize)
Exact dimension size.
Dynamic
Dynamic dimension without a model-provided symbol.
Symbol(String)
Dynamic dimension sharing a model-provided symbolic name.
Trait Implementations§
impl Eq for Dimension
impl StructuralPartialEq for Dimension
Auto Trait Implementations§
impl Freeze for Dimension
impl RefUnwindSafe for Dimension
impl Send for Dimension
impl Sync for Dimension
impl Unpin for Dimension
impl UnsafeUnpin for Dimension
impl UnwindSafe for Dimension
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