pub struct FiscalLabel { /* private fields */ }Expand description
A fiscal year’s label in a Lang, from FiscalYear::label.
let mut out = String::new();
nepdate::FiscalYear::new(2082).label(nepdate::Lang::En).write_to(&mut out)?;
assert_eq!(out, "2082/83");Implementations§
Source§impl FiscalLabel
impl FiscalLabel
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FiscalLabel
impl RefUnwindSafe for FiscalLabel
impl Send for FiscalLabel
impl Sync for FiscalLabel
impl Unpin for FiscalLabel
impl UnsafeUnpin for FiscalLabel
impl UnwindSafe for FiscalLabel
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