#[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
impl Copy 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 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