Struct azalea_block::RedstoneLampBlock
source · pub struct RedstoneLampBlock {
pub lit: bool,
}
Fields§
§lit: bool
Trait Implementations§
source§impl Block for RedstoneLampBlock
impl Block for RedstoneLampBlock
fn behavior(&self) -> BlockBehavior
fn id(&self) -> &'static str
fn as_blockstate(&self) -> BlockState
source§impl Clone for RedstoneLampBlock
impl Clone for RedstoneLampBlock
source§fn clone(&self) -> RedstoneLampBlock
fn clone(&self) -> RedstoneLampBlock
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 RedstoneLampBlock
impl Debug for RedstoneLampBlock
source§impl Default for RedstoneLampBlock
impl Default for RedstoneLampBlock
source§impl From<RedstoneLampBlock> for BlockState
impl From<RedstoneLampBlock> for BlockState
source§fn from(b: RedstoneLampBlock) -> Self
fn from(b: RedstoneLampBlock) -> Self
Converts to this type from the input type.