Struct azalea_block::LightBlock
source · [−]pub struct LightBlock {
pub level: LightLevel,
pub waterlogged: bool,
}Fields
level: LightLevelwaterlogged: boolTrait Implementations
sourceimpl Block for LightBlock
impl Block for LightBlock
sourceimpl Clone for LightBlock
impl Clone for LightBlock
sourcefn clone(&self) -> LightBlock
fn clone(&self) -> LightBlock
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for LightBlock
impl Debug for LightBlock
sourceimpl Default for LightBlock
impl Default for LightBlock
sourceimpl From<LightBlock> for BlockState
impl From<LightBlock> for BlockState
sourcefn from(b: LightBlock) -> Self
fn from(b: LightBlock) -> Self
Converts to this type from the input type.
impl Copy for LightBlock
Auto Trait Implementations
impl RefUnwindSafe for LightBlock
impl Send for LightBlock
impl Sync for LightBlock
impl Unpin for LightBlock
impl UnwindSafe for LightBlock
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more