pub struct RomanTime { /* private fields */ }Implementations§
Source§impl RomanTime
impl RomanTime
pub fn year(&self) -> i32
pub fn month(&self) -> u32
pub fn day(&self) -> u32
pub fn hour(&self) -> i32
pub fn hour_progress(&self) -> f64
pub fn year_string(&self, country_iso_3166: &str) -> String
pub fn date_string(&self) -> String
pub fn hour_string(&self) -> String
pub fn to_string(&self, country_iso_3166: &str) -> String
Trait Implementations§
Source§impl FromWasmAbi for RomanTime
impl FromWasmAbi for RomanTime
Source§impl IntoWasmAbi for RomanTime
impl IntoWasmAbi for RomanTime
Source§impl LongRefFromWasmAbi for RomanTime
impl LongRefFromWasmAbi for RomanTime
Source§impl OptionFromWasmAbi for RomanTime
impl OptionFromWasmAbi for RomanTime
Source§impl OptionIntoWasmAbi for RomanTime
impl OptionIntoWasmAbi for RomanTime
Source§impl RefFromWasmAbi for RomanTime
impl RefFromWasmAbi for RomanTime
Source§impl RefMutFromWasmAbi for RomanTime
impl RefMutFromWasmAbi for RomanTime
Source§impl TryFromJsValue for RomanTime
impl TryFromJsValue for RomanTime
Source§impl VectorFromWasmAbi for RomanTime
impl VectorFromWasmAbi for RomanTime
Source§impl VectorIntoWasmAbi for RomanTime
impl VectorIntoWasmAbi for RomanTime
impl SupportsConstructor for RomanTime
impl SupportsInstanceProperty for RomanTime
impl SupportsStaticProperty for RomanTime
Auto Trait Implementations§
impl Freeze for RomanTime
impl RefUnwindSafe for RomanTime
impl Send for RomanTime
impl Sync for RomanTime
impl Unpin for RomanTime
impl UnwindSafe for RomanTime
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
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.