pub enum LayoutDirection {
LeftToRight = 0,
RightToLeft = 1,
}Expand description
SwiftUI.LayoutDirection, in declaration order.
An enum with no associated values is laid out as its case index, so the discriminant here is the representation.
Variants§
Trait Implementations§
Source§impl Clone for LayoutDirection
impl Clone for LayoutDirection
impl Copy for LayoutDirection
Source§impl Debug for LayoutDirection
impl Debug for LayoutDirection
impl Eq for LayoutDirection
Source§impl From<LeftToRight> for LayoutDirection
impl From<LeftToRight> for LayoutDirection
Source§fn from(_: LeftToRight) -> Self
fn from(_: LeftToRight) -> Self
Converts to this type from the input type.
Source§impl From<RightToLeft> for LayoutDirection
impl From<RightToLeft> for LayoutDirection
Source§fn from(_: RightToLeft) -> Self
fn from(_: RightToLeft) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayoutDirection
impl PartialEq 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