pub struct BlockStateData {
pub name: Identifier,
pub properties: BTreeMap<String, String>,
}Expand description
Block state data as encoded by vanilla registry JSON.
Fields§
§name: IdentifierBlock identifier.
properties: BTreeMap<String, String>String-valued block-state properties.
Trait Implementations§
Source§impl Clone for BlockStateData
impl Clone for BlockStateData
Source§fn clone(&self) -> BlockStateData
fn clone(&self) -> BlockStateData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BlockStateData
impl Debug for BlockStateData
Source§impl<'de> Deserialize<'de> for BlockStateData
impl<'de> Deserialize<'de> for BlockStateData
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
Auto Trait Implementations§
impl Freeze for BlockStateData
impl RefUnwindSafe for BlockStateData
impl Send for BlockStateData
impl Sync for BlockStateData
impl Unpin for BlockStateData
impl UnsafeUnpin for BlockStateData
impl UnwindSafe for BlockStateData
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