pub struct Year { /* private fields */ }Expand description
Struct สำหรับเก็บปี
Implementations§
Trait Implementations§
Source§impl YearConversion for Year
impl YearConversion for Year
Source§fn to_buddhist_year(&self) -> i32
fn to_buddhist_year(&self) -> i32
แปลงปีจาก ค.ศ. เป็น พ.ศ. Read more
Source§fn to_christian_year(&self) -> i32
fn to_christian_year(&self) -> i32
แปลงปีจาก พ.ศ. เป็น ค.ศ. Read more
Auto Trait Implementations§
impl Freeze for Year
impl RefUnwindSafe for Year
impl Send for Year
impl Sync for Year
impl Unpin for Year
impl UnwindSafe for Year
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