pub enum PatchState {
Applied,
Undone,
}Expand description
Whether an externally held Patch’s edit is currently applied to the mesh,
see Mesh::release_patch_slots.
Variants§
Applied
The patch’s edit is applied (as on an undo stack): release the slots it removed.
Undone
The patch was undone (as on a redo stack): release the slots it created.
Trait Implementations§
Source§impl Clone for PatchState
impl Clone for PatchState
Source§fn clone(&self) -> PatchState
fn clone(&self) -> PatchState
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 moreimpl Copy for PatchState
Source§impl Debug for PatchState
impl Debug for PatchState
impl Eq for PatchState
Source§impl PartialEq for PatchState
impl PartialEq for PatchState
impl StructuralPartialEq for PatchState
Auto Trait Implementations§
impl Freeze for PatchState
impl RefUnwindSafe for PatchState
impl Send for PatchState
impl Sync for PatchState
impl Unpin for PatchState
impl UnsafeUnpin for PatchState
impl UnwindSafe for PatchState
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