pub enum CollectableType {
Block,
Item,
Tool,
}Expand description
The type of collectable that something is.
Variants§
Trait Implementations§
Source§impl Clone for CollectableType
impl Clone for CollectableType
Source§fn clone(&self) -> CollectableType
fn clone(&self) -> CollectableType
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 CollectableType
impl Debug for CollectableType
Source§impl<'de> Deserialize<'de> for CollectableType
impl<'de> Deserialize<'de> for CollectableType
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CollectableType
impl Display for CollectableType
Source§impl Serialize for CollectableType
impl Serialize for CollectableType
impl Copy for CollectableType
Auto Trait Implementations§
impl Freeze for CollectableType
impl RefUnwindSafe for CollectableType
impl Send for CollectableType
impl Sync for CollectableType
impl Unpin for CollectableType
impl UnwindSafe for CollectableType
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