pub enum PotentSulfurState {
Dry = 0,
Wet = 1,
Dormant = 2,
Erupting = 3,
Continuous = 4,
}Variants§
Trait Implementations§
Source§impl Clone for PotentSulfurState
impl Clone for PotentSulfurState
Source§fn clone(&self) -> PotentSulfurState
fn clone(&self) -> PotentSulfurState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PotentSulfurState
Source§impl Debug for PotentSulfurState
impl Debug for PotentSulfurState
Source§impl Display for PotentSulfurState
impl Display for PotentSulfurState
impl Eq for PotentSulfurState
Source§impl From<u16> for PotentSulfurState
impl From<u16> for PotentSulfurState
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl FromStr for PotentSulfurState
impl FromStr for PotentSulfurState
Source§impl PartialEq for PotentSulfurState
impl PartialEq for PotentSulfurState
Source§fn eq(&self, other: &PotentSulfurState) -> bool
fn eq(&self, other: &PotentSulfurState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Property for PotentSulfurState
impl Property for PotentSulfurState
type Value = PotentSulfurState
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
Source§fn to_static_str(&self) -> &'static str
fn to_static_str(&self) -> &'static str
Convert the value of the property to a string, like “x” or “true”.
impl StructuralPartialEq for PotentSulfurState
Auto Trait Implementations§
impl Freeze for PotentSulfurState
impl RefUnwindSafe for PotentSulfurState
impl Send for PotentSulfurState
impl Sync for PotentSulfurState
impl Unpin for PotentSulfurState
impl UnsafeUnpin for PotentSulfurState
impl UnwindSafe for PotentSulfurState
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.