pub enum PartialMatcherType {
Show 14 variants
Damage = 0,
Enchantments = 1,
StoredEnchantments = 2,
PotionContents = 3,
CustomData = 4,
Container = 5,
BundleContents = 6,
FireworkExplosion = 7,
Fireworks = 8,
WritableBookContent = 9,
WrittenBookContent = 10,
AttributeModifiers = 11,
Trim = 12,
JukeboxPlayable = 13,
}Variants§
Damage = 0
Enchantments = 1
StoredEnchantments = 2
PotionContents = 3
CustomData = 4
Container = 5
BundleContents = 6
FireworkExplosion = 7
Fireworks = 8
WritableBookContent = 9
WrittenBookContent = 10
AttributeModifiers = 11
Trim = 12
JukeboxPlayable = 13
Trait Implementations§
Source§impl Clone for PartialMatcherType
impl Clone for PartialMatcherType
Source§fn clone(&self) -> PartialMatcherType
fn clone(&self) -> PartialMatcherType
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 PartialMatcherType
Source§impl Debug for PartialMatcherType
impl Debug for PartialMatcherType
impl Eq for PartialMatcherType
Source§impl PartialEq for PartialMatcherType
impl PartialEq for PartialMatcherType
Source§impl ProtocolEnum for PartialMatcherType
impl ProtocolEnum for PartialMatcherType
impl StructuralPartialEq for PartialMatcherType
Auto Trait Implementations§
impl Freeze for PartialMatcherType
impl RefUnwindSafe for PartialMatcherType
impl Send for PartialMatcherType
impl Sync for PartialMatcherType
impl Unpin for PartialMatcherType
impl UnsafeUnpin for PartialMatcherType
impl UnwindSafe for PartialMatcherType
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.