pub enum SpanOp {
Carve,
Insert,
}Expand description
Operation for span-style edits.
Carve flips the listed voxels to air (per-span delslab) —
the colfunc is consulted by the internal RLE re-compile step for
newly-exposed voxels just outside the carved range (above and
below) which weren’t previously in the column’s color list.
Insert flips the listed voxels to solid (per-span insslab)
— the colfunc is consulted for the inserted voxels themselves.
Variants§
Trait Implementations§
impl Copy for SpanOp
impl Eq for SpanOp
impl StructuralPartialEq for SpanOp
Auto Trait Implementations§
impl Freeze for SpanOp
impl RefUnwindSafe for SpanOp
impl Send for SpanOp
impl Sync for SpanOp
impl Unpin for SpanOp
impl UnsafeUnpin for SpanOp
impl UnwindSafe for SpanOp
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