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