Struct BlockEdit
pub struct BlockEdit {
pub palette: Vec<BlockState>,
pub filters: Vec<StatePredicate>,
pub runs: Vec<BlockRun>,
}Expand description
A bulk edit of complete typed states and partial predicates, named by run indices; NBT is not supported.
Fields§
§palette: Vec<BlockState>Complete states to write; properties are never parsed from command strings.
filters: Vec<StatePredicate>Partial block or tag predicates; omitted properties are wildcards.
runs: Vec<BlockRun>Trait Implementations§
impl StructuralPartialEq for BlockEdit
Auto Trait Implementations§
impl Freeze for BlockEdit
impl RefUnwindSafe for BlockEdit
impl Send for BlockEdit
impl Sync for BlockEdit
impl Unpin for BlockEdit
impl UnsafeUnpin for BlockEdit
impl UnwindSafe for BlockEdit
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