Enum ndk::configuration::LayoutDir
source · [−]#[repr(u32)]
pub enum LayoutDir {
Any,
Ltr,
Rtl,
}
Variants
Any
Ltr
Rtl
Trait Implementations
sourceimpl TryFrom<u32> for LayoutDir
impl TryFrom<u32> for LayoutDir
type Error = TryFromPrimitiveError<LayoutDir>
type Error = TryFromPrimitiveError<LayoutDir>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for LayoutDir
impl TryFromPrimitive for LayoutDir
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for LayoutDir
impl Eq for LayoutDir
impl StructuralEq for LayoutDir
impl StructuralPartialEq for LayoutDir
Auto Trait Implementations
impl RefUnwindSafe for LayoutDir
impl Send for LayoutDir
impl Sync for LayoutDir
impl Unpin for LayoutDir
impl UnwindSafe for LayoutDir
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more