Trait IntoBlock

Source
pub trait IntoBlock {
    // Required method
    fn into_block(self) -> Block;
}

Required Methods§

Implementors§

Source§

impl IntoBlock for Block

Source§

impl IntoBlock for BlockRef<'_>

Source§

impl IntoBlock for BlockState

This will initialize the block with a new empty compound if the block state is associated with a block entity.