#[repr(u8)]pub enum block_predicate_type {
matching_blocks = 0,
matching_block_tag = 1,
matching_fluids = 2,
has_sturdy_face = 3,
solid = 4,
replaceable = 5,
would_survive = 6,
inside_world_bounds = 7,
any_of = 8,
all_of = 9,
not = 10,
true = 11,
}Variants§
matching_blocks = 0
matching_block_tag = 1
matching_fluids = 2
has_sturdy_face = 3
solid = 4
replaceable = 5
would_survive = 6
inside_world_bounds = 7
any_of = 8
all_of = 9
not = 10
true = 11
Implementations§
Trait Implementations§
source§impl Clone for block_predicate_type
impl Clone for block_predicate_type
source§fn clone(&self) -> block_predicate_type
fn clone(&self) -> block_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 block_predicate_type
impl Debug for block_predicate_type
source§impl Display for block_predicate_type
impl Display for block_predicate_type
source§impl Hash for block_predicate_type
impl Hash for block_predicate_type
source§impl PartialEq for block_predicate_type
impl PartialEq for block_predicate_type
source§fn eq(&self, other: &block_predicate_type) -> bool
fn eq(&self, other: &block_predicate_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for block_predicate_type
impl Write for block_predicate_type
impl Copy for block_predicate_type
impl Eq for block_predicate_type
impl StructuralEq for block_predicate_type
impl StructuralPartialEq for block_predicate_type
Auto Trait Implementations§
impl RefUnwindSafe for block_predicate_type
impl Send for block_predicate_type
impl Sync for block_predicate_type
impl Unpin for block_predicate_type
impl UnwindSafe for block_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