pub enum ElementLayout {
OneBased,
Offset {
offset: i64,
},
Matrix {
rows: IntegerSet,
columns: IntegerSet,
},
SetMatrix {
width: i64,
height: i64,
},
}Expand description
The fixed indexing contract of a flattened element relation.
Variants§
Trait Implementations§
Source§impl Clone for ElementLayout
impl Clone for ElementLayout
Source§impl Debug for ElementLayout
impl Debug for ElementLayout
Source§impl<'de> Deserialize<'de> for ElementLayout
impl<'de> Deserialize<'de> for ElementLayout
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
Source§impl Display for ElementLayout
impl Display for ElementLayout
Auto Trait Implementations§
impl Freeze for ElementLayout
impl RefUnwindSafe for ElementLayout
impl Send for ElementLayout
impl Sync for ElementLayout
impl Unpin for ElementLayout
impl UnsafeUnpin for ElementLayout
impl UnwindSafe for ElementLayout
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