Enum BlockStateProperty
pub enum BlockStateProperty {
Boolean,
Enum {
values: Vec<String>,
},
}Expand description
BlockStateProperty in a load-time content declaration.
Variants§
Boolean
false and true, in vanilla’s spelling.
Enum
A list of values, in the order the state space is built in.
Trait Implementations§
§impl Clone for BlockStateProperty
impl Clone for BlockStateProperty
§fn clone(&self) -> BlockStateProperty
fn clone(&self) -> BlockStateProperty
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 more§impl Debug for BlockStateProperty
impl Debug for BlockStateProperty
§impl PartialEq for BlockStateProperty
impl PartialEq for BlockStateProperty
impl StructuralPartialEq for BlockStateProperty
Auto Trait Implementations§
impl Freeze for BlockStateProperty
impl RefUnwindSafe for BlockStateProperty
impl Send for BlockStateProperty
impl Sync for BlockStateProperty
impl Unpin for BlockStateProperty
impl UnsafeUnpin for BlockStateProperty
impl UnwindSafe for BlockStateProperty
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