pub struct BlockStateData {
pub block: BlockRef,
pub properties: &'static [(&'static str, &'static str)],
}Expand description
Block state data emitted by the feature generator without baking a state id.
Fields§
§block: BlockRefReferenced block entry.
properties: &'static [(&'static str, &'static str)]Explicit state properties from the extracted feature config.
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for BlockStateData
impl !UnwindSafe for BlockStateData
impl Freeze for BlockStateData
impl Send for BlockStateData
impl Sync for BlockStateData
impl Unpin for BlockStateData
impl UnsafeUnpin 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