#[repr(transparent)]pub struct LayoutDirection(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl LayoutDirection
impl LayoutDirection
pub const Row: Self
pub const Column: Self
pub const RowReverse: Self
pub const ColumnReverse: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 3
pub const ENUM_VALUES: &'static [Self]
Sourcepub fn variant_name(self) -> Option<&'static str>
pub fn variant_name(self) -> Option<&'static str>
Returns the variant’s name or “” if unknown.
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
Source§impl Default for LayoutDirection
impl Default for LayoutDirection
Source§fn default() -> LayoutDirection
fn default() -> LayoutDirection
Returns the “default value” for a type. Read more
Source§impl EndianScalar for LayoutDirection
impl EndianScalar for LayoutDirection
Source§impl<'a> Follow<'a> for LayoutDirection
impl<'a> Follow<'a> for LayoutDirection
Source§impl Hash for LayoutDirection
impl Hash for LayoutDirection
Source§impl Ord for LayoutDirection
impl Ord for LayoutDirection
Source§fn cmp(&self, other: &LayoutDirection) -> Ordering
fn cmp(&self, other: &LayoutDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutDirection
impl PartialEq for LayoutDirection
Source§impl PartialOrd for LayoutDirection
impl PartialOrd for LayoutDirection
Source§impl Push for LayoutDirection
impl Push for LayoutDirection
Source§impl<'a> Verifiable for LayoutDirection
impl<'a> Verifiable for LayoutDirection
Source§fn run_verifier(
v: &mut Verifier<'_, '_>,
pos: usize,
) -> Result<(), InvalidFlatbuffer>
fn run_verifier( v: &mut Verifier<'_, '_>, pos: usize, ) -> Result<(), InvalidFlatbuffer>
Runs the verifier for this type, assuming its at position
pos in the verifier’s buffer.
Should not need to be called directly.impl Copy for LayoutDirection
impl Eq for LayoutDirection
impl SimpleToVerifyInSlice 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