pub enum FlowerAmount {
_1 = 0,
_2 = 1,
_3 = 2,
_4 = 3,
}Variants§
Trait Implementations§
Source§impl Clone for FlowerAmount
impl Clone for FlowerAmount
Source§fn clone(&self) -> FlowerAmount
fn clone(&self) -> FlowerAmount
Returns a duplicate 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 FlowerAmount
impl Debug for FlowerAmount
Source§impl Display for FlowerAmount
impl Display for FlowerAmount
Source§impl From<u16> for FlowerAmount
impl From<u16> for FlowerAmount
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl FromStr for FlowerAmount
impl FromStr for FlowerAmount
Source§impl PartialEq for FlowerAmount
impl PartialEq for FlowerAmount
Source§impl Property for FlowerAmount
impl Property for FlowerAmount
type Value = FlowerAmount
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 Copy for FlowerAmount
impl Eq for FlowerAmount
impl StructuralPartialEq for FlowerAmount
Auto Trait Implementations§
impl Freeze for FlowerAmount
impl RefUnwindSafe for FlowerAmount
impl Send for FlowerAmount
impl Sync for FlowerAmount
impl Unpin for FlowerAmount
impl UnsafeUnpin for FlowerAmount
impl UnwindSafe for FlowerAmount
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
Compare self to
key and return true if they are equal.