pub enum SemanticOp {
Set {
node_id: String,
path: Vec<String>,
ident_value: bool,
},
Clear {
node_id: String,
},
Put {
slot: SemanticSlotRef,
node: Option<SemanticPatchNode>,
},
Replace {
target_id: String,
replacement: Option<SemanticPatchNode>,
},
Delete {
target_id: String,
},
Move {
target_id: String,
dest_slot: Option<SemanticSlotRef>,
},
Other,
}Variants§
Trait Implementations§
Source§impl Clone for SemanticOp
impl Clone for SemanticOp
Source§fn clone(&self) -> SemanticOp
fn clone(&self) -> SemanticOp
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 moreSource§impl Debug for SemanticOp
impl Debug for SemanticOp
Source§impl PartialEq for SemanticOp
impl PartialEq for SemanticOp
Source§fn eq(&self, other: &SemanticOp) -> bool
fn eq(&self, other: &SemanticOp) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticOp
impl StructuralPartialEq for SemanticOp
Auto Trait Implementations§
impl Freeze for SemanticOp
impl RefUnwindSafe for SemanticOp
impl Send for SemanticOp
impl Sync for SemanticOp
impl Unpin for SemanticOp
impl UnsafeUnpin for SemanticOp
impl UnwindSafe for SemanticOp
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