Trait azalea_block::Block
source · pub trait Block {
fn behavior(&self) -> BlockBehavior;
fn id(&self) -> &'static str;
}Required Methods
Trait Implementations
sourceimpl From<BlockState> for Box<dyn Block>
impl From<BlockState> for Box<dyn Block>
sourcefn from(b: BlockState) -> Self
fn from(b: BlockState) -> Self
Converts to this type from the input type.