#[repr(transparent)]pub struct DateStyle(pub i8);Tuple Fields§
§0: i8Implementations§
Source§impl DateStyle
impl DateStyle
pub const Short: Self
pub const Medium: Self
pub const Long: Self
pub const Full: Self
pub const Custom: Self
pub const ENUM_MIN: i8 = 0
pub const ENUM_MAX: i8 = 4
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 DateStyle
impl EndianScalar for DateStyle
Source§impl Ord for DateStyle
impl Ord for DateStyle
Source§impl PartialOrd for DateStyle
impl PartialOrd for DateStyle
Source§impl<'a> Verifiable for DateStyle
impl<'a> Verifiable for DateStyle
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 DateStyle
impl Eq for DateStyle
impl SimpleToVerifyInSlice for DateStyle
impl StructuralPartialEq for DateStyle
Auto Trait Implementations§
impl Freeze for DateStyle
impl RefUnwindSafe for DateStyle
impl Send for DateStyle
impl Sync for DateStyle
impl Unpin for DateStyle
impl UnsafeUnpin for DateStyle
impl UnwindSafe for DateStyle
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