pub enum LinearLayout {
Row,
Col,
}Expand description
The layout in which the linear parameters are stored.
This can have performance impacts.
Variants§
Trait Implementations§
Source§impl Clone for LinearLayout
impl Clone for LinearLayout
Source§fn clone(&self) -> LinearLayout
fn clone(&self) -> LinearLayout
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Config for LinearLayout
impl Config for LinearLayout
Source§fn load<P>(file: P) -> Result<Self, ConfigError>
fn load<P>(file: P) -> Result<Self, ConfigError>
Loads the configuration from a file. Read more
Source§fn load_binary(data: &[u8]) -> Result<Self, ConfigError>
fn load_binary(data: &[u8]) -> Result<Self, ConfigError>
Loads the configuration from a binary buffer. Read more
Source§impl Debug for LinearLayout
impl Debug for LinearLayout
Source§impl<'de> Deserialize<'de> for LinearLayout
impl<'de> Deserialize<'de> for LinearLayout
Source§fn deserialize<D>(
deserializer: D,
) -> Result<LinearLayout, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<LinearLayout, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for LinearLayout
impl Display for LinearLayout
Source§impl Serialize for LinearLayout
impl Serialize for LinearLayout
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for LinearLayout
Auto Trait Implementations§
impl Freeze for LinearLayout
impl RefUnwindSafe for LinearLayout
impl Send for LinearLayout
impl Sync for LinearLayout
impl Unpin for LinearLayout
impl UnsafeUnpin for LinearLayout
impl UnwindSafe for LinearLayout
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