Enum ndk::configuration::LayoutDir
source · #[non_exhaustive]#[repr(i32)]pub enum LayoutDir {
Any = 0,
Ltr = 1,
Rtl = 2,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
source§impl FromPrimitive for LayoutDir
impl FromPrimitive for LayoutDir
source§impl PartialEq for LayoutDir
impl PartialEq for LayoutDir
impl Copy for LayoutDir
impl Eq for LayoutDir
impl StructuralPartialEq for LayoutDir
Auto Trait Implementations§
impl Freeze for LayoutDir
impl RefUnwindSafe for LayoutDir
impl Send for LayoutDir
impl Sync for LayoutDir
impl Unpin for LayoutDir
impl UnwindSafe for LayoutDir
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