#[repr(u8)]pub enum LayoutDirection {
LeftToRight = 0,
TopToBottom = 1,
}Expand description
Defines the layout direction for arranging child elements.
Variants§
LeftToRight = 0
Arranges elements from left to right.
TopToBottom = 1
Arranges elements from top to bottom.
Trait Implementations§
Source§impl Clone for LayoutDirection
impl Clone for LayoutDirection
Source§fn clone(&self) -> LayoutDirection
fn clone(&self) -> LayoutDirection
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 LayoutDirection
impl Debug for LayoutDirection
Source§impl Default for LayoutDirection
impl Default for LayoutDirection
Source§fn default() -> LayoutDirection
fn default() -> LayoutDirection
Returns the “default value” for a type. Read more
Source§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
impl Copy for LayoutDirection
impl Eq for LayoutDirection
impl StructuralPartialEq for LayoutDirection
Auto Trait Implementations§
impl Freeze for LayoutDirection
impl RefUnwindSafe for LayoutDirection
impl Send for LayoutDirection
impl Sync for LayoutDirection
impl Unpin for LayoutDirection
impl UnsafeUnpin for LayoutDirection
impl UnwindSafe for LayoutDirection
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> 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.