pub enum ConstructorSize {
Scalar,
Vector(VectorSize),
Matrix {
columns: VectorSize,
rows: VectorSize,
},
}
Expand description
The sizes a member of ConstructorSet
might have.
Variants§
Scalar
The constructor is SCALAR
.
Vector(VectorSize)
The constructor is VECN
for some N
.
Matrix
The constructor is MATCXR
for some C
and R
.
Implementations§
Trait Implementations§
Source§impl Clone for ConstructorSize
impl Clone for ConstructorSize
Source§fn clone(&self) -> ConstructorSize
fn clone(&self) -> ConstructorSize
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 moreimpl Copy for ConstructorSize
Auto Trait Implementations§
impl Freeze for ConstructorSize
impl RefUnwindSafe for ConstructorSize
impl Send for ConstructorSize
impl Sync for ConstructorSize
impl Unpin for ConstructorSize
impl UnwindSafe for ConstructorSize
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