pub enum ExprShape {
Scalar,
Vector {
len: usize,
},
Matrix {
rows: usize,
cols: usize,
},
}Expand description
Structural shape of an expression.
Variants§
Trait Implementations§
impl Copy for ExprShape
Source§impl<'de> Deserialize<'de> for ExprShape
impl<'de> Deserialize<'de> for ExprShape
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ExprShape
impl StructuralPartialEq for ExprShape
Auto Trait Implementations§
impl Freeze for ExprShape
impl RefUnwindSafe for ExprShape
impl Send for ExprShape
impl Sync for ExprShape
impl Unpin for ExprShape
impl UnsafeUnpin for ExprShape
impl UnwindSafe for ExprShape
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