#[repr(transparent)]pub struct YearFormat(pub i32);
Expand description
Required features: "Globalization_DateTimeFormatting"
Tuple Fields
0: i32
Implementations
impl YearFormat
impl YearFormat
pub const None: Self = Self(0i32)
pub const Default: Self = Self(1i32)
pub const Abbreviated: Self = Self(2i32)
pub const Full: Self = Self(3i32)
Trait Implementations
impl Clone for YearFormat
impl Clone for YearFormat
impl Copy for YearFormat
Auto Trait Implementations
impl RefUnwindSafe for YearFormat
impl Send for YearFormat
impl Sync for YearFormat
impl Unpin for YearFormat
impl UnwindSafe for YearFormat
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