pub struct InputBlock {
pub name: String,
pub properties: HashMap<String, String>,
}Expand description
Input block for meshing, compatible with Nucleation’s BlockState.
Fields§
§name: StringBlock name, e.g., “minecraft:stone”
properties: HashMap<String, String>Block properties, e.g., {“facing”: “north”}
Implementations§
Trait Implementations§
Source§impl Clone for InputBlock
impl Clone for InputBlock
Source§fn clone(&self) -> InputBlock
fn clone(&self) -> InputBlock
Returns a duplicate of the value. Read more
1.0.0 · 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 InputBlock
impl Debug for InputBlock
Source§impl PartialEq for InputBlock
impl PartialEq for InputBlock
impl Eq for InputBlock
impl StructuralPartialEq for InputBlock
Auto Trait Implementations§
impl Freeze for InputBlock
impl RefUnwindSafe for InputBlock
impl Send for InputBlock
impl Sync for InputBlock
impl Unpin for InputBlock
impl UnwindSafe for InputBlock
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.