pub enum TargetPower {
Show 16 variants
_0 = 0,
_1 = 1,
_2 = 2,
_3 = 3,
_4 = 4,
_5 = 5,
_6 = 6,
_7 = 7,
_8 = 8,
_9 = 9,
_10 = 10,
_11 = 11,
_12 = 12,
_13 = 13,
_14 = 14,
_15 = 15,
}
Variants§
_0 = 0
_1 = 1
_2 = 2
_3 = 3
_4 = 4
_5 = 5
_6 = 6
_7 = 7
_8 = 8
_9 = 9
_10 = 10
_11 = 11
_12 = 12
_13 = 13
_14 = 14
_15 = 15
Trait Implementations§
Source§impl Clone for TargetPower
impl Clone for TargetPower
Source§fn clone(&self) -> TargetPower
fn clone(&self) -> TargetPower
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 TargetPower
impl Debug for TargetPower
Source§impl From<u16> for TargetPower
impl From<u16> for TargetPower
Source§fn from(value: BlockStateIntegerRepr) -> Self
fn from(value: BlockStateIntegerRepr) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TargetPower
impl PartialEq for TargetPower
Source§impl Property for TargetPower
impl Property for TargetPower
type Value = TargetPower
fn try_from_block_state(block_state: BlockState) -> Option<Self::Value>
impl Copy for TargetPower
impl Eq for TargetPower
impl StructuralPartialEq for TargetPower
Auto Trait Implementations§
impl Freeze for TargetPower
impl RefUnwindSafe for TargetPower
impl Send for TargetPower
impl Sync for TargetPower
impl Unpin for TargetPower
impl UnwindSafe for TargetPower
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