pub enum LayoutMode {
None,
Horizontal,
Vertical,
}
Expand description
Whether this layer uses auto-layout to position its children.
Variants§
Trait Implementations§
Source§impl Clone for LayoutMode
impl Clone for LayoutMode
Source§fn clone(&self) -> LayoutMode
fn clone(&self) -> LayoutMode
Returns a duplicate 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 LayoutMode
impl Debug for LayoutMode
Source§impl Default for LayoutMode
impl Default for LayoutMode
Source§fn default() -> LayoutMode
fn default() -> LayoutMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LayoutMode
impl<'de> Deserialize<'de> for LayoutMode
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 Hash for LayoutMode
impl Hash for LayoutMode
Source§impl Ord for LayoutMode
impl Ord for LayoutMode
Source§fn cmp(&self, other: &LayoutMode) -> Ordering
fn cmp(&self, other: &LayoutMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutMode
impl PartialEq for LayoutMode
Source§impl PartialOrd for LayoutMode
impl PartialOrd for LayoutMode
Source§impl Serialize for LayoutMode
impl Serialize for LayoutMode
impl Copy for LayoutMode
impl Eq for LayoutMode
impl StructuralPartialEq for LayoutMode
Auto Trait Implementations§
impl Freeze for LayoutMode
impl RefUnwindSafe for LayoutMode
impl Send for LayoutMode
impl Sync for LayoutMode
impl Unpin for LayoutMode
impl UnwindSafe for LayoutMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.