#[repr(transparent)]pub struct TextAlign(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl TextAlign
impl TextAlign
pub const Start: Self
pub const Center: Self
pub const End: Self
pub const Justify: 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 EndianScalar for TextAlign
impl EndianScalar for TextAlign
Source§impl Ord for TextAlign
impl Ord for TextAlign
Source§impl PartialOrd for TextAlign
impl PartialOrd for TextAlign
Source§impl<'a> Verifiable for TextAlign
impl<'a> Verifiable for TextAlign
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 TextAlign
impl Eq for TextAlign
impl SimpleToVerifyInSlice for TextAlign
impl StructuralPartialEq for TextAlign
Auto Trait Implementations§
impl Freeze for TextAlign
impl RefUnwindSafe for TextAlign
impl Send for TextAlign
impl Sync for TextAlign
impl Unpin for TextAlign
impl UnsafeUnpin for TextAlign
impl UnwindSafe for TextAlign
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