Struct minedmap_resource::BlockType
source · pub struct BlockType {
pub flags: BitFlags<BlockFlag>,
pub color: Color,
}
Expand description
A block type specification
Fields§
§flags: BitFlags<BlockFlag>
Bit set of BlockFlags describing special properties of the block type
color: Color
Base color of the block type
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for BlockType
impl<'de> Deserialize<'de> for BlockType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for BlockType
Auto Trait Implementations§
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