pub enum ItemUseAnimation {
None = 0,
Eat = 1,
Drink = 2,
Block = 3,
Bow = 4,
Spear = 5,
Crossbow = 6,
Spyglass = 7,
TootHorn = 8,
Brush = 9,
}Variants§
None = 0
Eat = 1
Drink = 2
Block = 3
Bow = 4
Spear = 5
Crossbow = 6
Spyglass = 7
TootHorn = 8
Brush = 9
Trait Implementations§
Source§impl Clone for ItemUseAnimation
impl Clone for ItemUseAnimation
Source§fn clone(&self) -> ItemUseAnimation
fn clone(&self) -> ItemUseAnimation
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 ItemUseAnimation
Source§impl Debug for ItemUseAnimation
impl Debug for ItemUseAnimation
impl Eq for ItemUseAnimation
Source§impl PartialEq for ItemUseAnimation
impl PartialEq for ItemUseAnimation
Source§impl ProtocolEnum for ItemUseAnimation
impl ProtocolEnum for ItemUseAnimation
impl StructuralPartialEq for ItemUseAnimation
Auto Trait Implementations§
impl Freeze for ItemUseAnimation
impl RefUnwindSafe for ItemUseAnimation
impl Send for ItemUseAnimation
impl Sync for ItemUseAnimation
impl Unpin for ItemUseAnimation
impl UnsafeUnpin for ItemUseAnimation
impl UnwindSafe for ItemUseAnimation
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,
Source§impl<T> ContextualCodec for Twhere
T: TypeCodec,
impl<T> ContextualCodec for Twhere
T: TypeCodec,
Source§fn encode_with_context(
&self,
writer: &mut impl Write,
_context: &Context,
) -> Result<(), CodecError>
fn encode_with_context( &self, writer: &mut impl Write, _context: &Context, ) -> Result<(), CodecError>
Encodes this value using context supplied by its enclosing structure.
Source§fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
fn decode_with_context(
reader: &mut impl Read,
_context: &Context,
) -> Result<T, CodecError>where
T: Sized,
Decodes this value using context supplied by its enclosing structure.