Enum gamemstr_common::item::TimeDivision
source · pub enum TimeDivision {
Round,
Second,
Minute,
Hour,
Day,
Month,
Year,
}Variants§
Implementations§
source§impl TimeDivision
impl TimeDivision
pub fn to_plural_string(&self) -> String
Trait Implementations§
source§impl Clone for TimeDivision
impl Clone for TimeDivision
source§fn clone(&self) -> TimeDivision
fn clone(&self) -> TimeDivision
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TimeDivision
impl Debug for TimeDivision
source§impl<'de> Deserialize<'de> for TimeDivision
impl<'de> Deserialize<'de> for TimeDivision
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for TimeDivision
impl Display for TimeDivision
source§impl Hash for TimeDivision
impl Hash for TimeDivision
source§impl PartialEq<TimeDivision> for TimeDivision
impl PartialEq<TimeDivision> for TimeDivision
source§fn eq(&self, other: &TimeDivision) -> bool
fn eq(&self, other: &TimeDivision) -> bool
This method tests for
self and other values to be equal, and is used
by ==.