pub enum SculkSensorPhase {
Inactive = 0,
Active = 1,
Cooldown = 2,
}
Variants§
Trait Implementations§
Source§impl Clone for SculkSensorPhase
impl Clone for SculkSensorPhase
Source§fn clone(&self) -> SculkSensorPhase
fn clone(&self) -> SculkSensorPhase
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 SculkSensorPhase
impl Debug for SculkSensorPhase
Source§impl From<u16> for SculkSensorPhase
impl From<u16> for SculkSensorPhase
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SculkSensorPhase
impl PartialEq for SculkSensorPhase
Source§impl Property for SculkSensorPhase
impl Property for SculkSensorPhase
type Value = SculkSensorPhase
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for SculkSensorPhase
impl Eq for SculkSensorPhase
impl StructuralPartialEq for SculkSensorPhase
Auto Trait Implementations§
impl Freeze for SculkSensorPhase
impl RefUnwindSafe for SculkSensorPhase
impl Send for SculkSensorPhase
impl Sync for SculkSensorPhase
impl Unpin for SculkSensorPhase
impl UnwindSafe for SculkSensorPhase
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