Enum azalea_block::properties::ComparatorType
source · pub enum ComparatorType {
Compare = 0,
Subtract = 1,
}Variants§
Trait Implementations§
source§impl Clone for ComparatorType
impl Clone for ComparatorType
source§fn clone(&self) -> ComparatorType
fn clone(&self) -> ComparatorType
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 ComparatorType
impl Debug for ComparatorType
source§impl From<u32> for ComparatorType
impl From<u32> for ComparatorType
source§impl PartialEq for ComparatorType
impl PartialEq for ComparatorType
source§fn eq(&self, other: &ComparatorType) -> bool
fn eq(&self, other: &ComparatorType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Property for ComparatorType
impl Property for ComparatorType
type Value = ComparatorType
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for ComparatorType
impl Eq for ComparatorType
impl StructuralPartialEq for ComparatorType
Auto Trait Implementations§
impl Freeze for ComparatorType
impl RefUnwindSafe for ComparatorType
impl Send for ComparatorType
impl Sync for ComparatorType
impl Unpin for ComparatorType
impl UnwindSafe for ComparatorType
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