pub enum MinecraftTimeUnit {
Tick,
Second,
Day,
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for MinecraftTimeUnit
impl Clone for MinecraftTimeUnit
source§fn clone(&self) -> MinecraftTimeUnit
fn clone(&self) -> MinecraftTimeUnit
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 MinecraftTimeUnit
impl Debug for MinecraftTimeUnit
source§impl PartialEq<MinecraftTimeUnit> for MinecraftTimeUnit
impl PartialEq<MinecraftTimeUnit> for MinecraftTimeUnit
source§fn eq(&self, other: &MinecraftTimeUnit) -> bool
fn eq(&self, other: &MinecraftTimeUnit) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for MinecraftTimeUnit
impl Eq for MinecraftTimeUnit
impl StructuralEq for MinecraftTimeUnit
impl StructuralPartialEq for MinecraftTimeUnit
Auto Trait Implementations§
impl RefUnwindSafe for MinecraftTimeUnit
impl Send for MinecraftTimeUnit
impl Sync for MinecraftTimeUnit
impl Unpin for MinecraftTimeUnit
impl UnwindSafe for MinecraftTimeUnit
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.