pub enum DimensionsSource {
Ty(&'static str),
Rule,
}Expand description
The source of an amount of dimensions specified
Variants§
Ty(&'static str)
The type defines a specific number of dimensions (two for Ix2)
Rule
The rule function passed in gave a specific number of dimensions
Trait Implementations§
Source§impl Clone for DimensionsSource
impl Clone for DimensionsSource
Source§fn clone(&self) -> DimensionsSource
fn clone(&self) -> DimensionsSource
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DimensionsSource
impl Debug for DimensionsSource
impl Copy for DimensionsSource
Auto Trait Implementations§
impl Freeze for DimensionsSource
impl RefUnwindSafe for DimensionsSource
impl Send for DimensionsSource
impl Sync for DimensionsSource
impl Unpin for DimensionsSource
impl UnwindSafe for DimensionsSource
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