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<u32> for LightLevel
impl From<u32> for LightLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)