pub struct BlockType {
pub block_color: BlockColor,
pub sign_material: Option<String>,
}
Expand description
A block type specification
Fields§
§block_color: BlockColor
Determines the rendered color of the block type
sign_material: Option<String>
Material of a sign block
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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