#[repr(transparent)]pub struct LayoutDirection {
pub repr: i32,
}Expand description
This enum type specifies the direction of Qt’s layouts and text handling.
Fields§
§repr: i32Implementations§
Source§impl LayoutDirection
impl LayoutDirection
Sourcepub const LeftToRight: Self
pub const LeftToRight: Self
Left-to-right layout.
Sourcepub const RightToLeft: Self
pub const RightToLeft: Self
Right-to-left layout.
Sourcepub const LayoutDirectionAuto: Self
pub const LayoutDirectionAuto: Self
Automatic layout. Text directionality is determined from the content of the string to be layouted.
Trait Implementations§
Source§impl Clone for LayoutDirection
impl Clone for LayoutDirection
impl Copy for LayoutDirection
impl Eq for LayoutDirection
Source§impl ExternType for LayoutDirection
impl ExternType for LayoutDirection
Source§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
Source§fn eq(&self, other: &LayoutDirection) -> bool
fn eq(&self, other: &LayoutDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.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