#[repr(u8)]pub enum item_sub_predicate_type {
Show 14 variants
damage = 0,
enchantments = 1,
stored_enchantments = 2,
potion_contents = 3,
custom_data = 4,
container = 5,
bundle_contents = 6,
firework_explosion = 7,
fireworks = 8,
writable_book_content = 9,
written_book_content = 10,
attribute_modifiers = 11,
trim = 12,
jukebox_playable = 13,
}Variants§
damage = 0
enchantments = 1
stored_enchantments = 2
potion_contents = 3
custom_data = 4
container = 5
bundle_contents = 6
firework_explosion = 7
fireworks = 8
writable_book_content = 9
written_book_content = 10
attribute_modifiers = 11
trim = 12
jukebox_playable = 13
Implementations§
Trait Implementations§
Source§impl Clone for item_sub_predicate_type
impl Clone for item_sub_predicate_type
Source§fn clone(&self) -> item_sub_predicate_type
fn clone(&self) -> item_sub_predicate_type
Returns a copy 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 item_sub_predicate_type
impl Debug for item_sub_predicate_type
Source§impl Display for item_sub_predicate_type
impl Display for item_sub_predicate_type
Source§impl Hash for item_sub_predicate_type
impl Hash for item_sub_predicate_type
Source§impl PartialEq for item_sub_predicate_type
impl PartialEq for item_sub_predicate_type
Source§impl Write for item_sub_predicate_type
impl Write for item_sub_predicate_type
impl Copy for item_sub_predicate_type
impl Eq for item_sub_predicate_type
impl StructuralPartialEq for item_sub_predicate_type
Auto Trait Implementations§
impl Freeze for item_sub_predicate_type
impl RefUnwindSafe for item_sub_predicate_type
impl Send for item_sub_predicate_type
impl Sync for item_sub_predicate_type
impl Unpin for item_sub_predicate_type
impl UnwindSafe for item_sub_predicate_type
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