pub struct SemanticPatch {
pub root: Option<SemanticNodeId>,
pub focus: Option<SemanticNodeId>,
pub upserts: Vec<SemanticNode>,
pub removed: Vec<SemanticNodeId>,
}Fields§
§root: Option<SemanticNodeId>§focus: Option<SemanticNodeId>§upserts: Vec<SemanticNode>§removed: Vec<SemanticNodeId>Implementations§
Trait Implementations§
Source§impl Clone for SemanticPatch
impl Clone for SemanticPatch
Source§fn clone(&self) -> SemanticPatch
fn clone(&self) -> SemanticPatch
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 SemanticPatch
impl Debug for SemanticPatch
Source§impl Default for SemanticPatch
impl Default for SemanticPatch
Source§fn default() -> SemanticPatch
fn default() -> SemanticPatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for SemanticPatch
impl PartialEq for SemanticPatch
impl StructuralPartialEq for SemanticPatch
Auto Trait Implementations§
impl Freeze for SemanticPatch
impl RefUnwindSafe for SemanticPatch
impl Send for SemanticPatch
impl Sync for SemanticPatch
impl Unpin for SemanticPatch
impl UnsafeUnpin for SemanticPatch
impl UnwindSafe for SemanticPatch
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