pub enum SemanticPatchNode {
Expr(Expr),
Stmt(Stmt),
}Variants§
Trait Implementations§
Source§impl Clone for SemanticPatchNode
impl Clone for SemanticPatchNode
Source§fn clone(&self) -> SemanticPatchNode
fn clone(&self) -> SemanticPatchNode
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 SemanticPatchNode
impl Debug for SemanticPatchNode
Source§impl PartialEq for SemanticPatchNode
impl PartialEq for SemanticPatchNode
Source§fn eq(&self, other: &SemanticPatchNode) -> bool
fn eq(&self, other: &SemanticPatchNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SemanticPatchNode
impl StructuralPartialEq for SemanticPatchNode
Auto Trait Implementations§
impl Freeze for SemanticPatchNode
impl RefUnwindSafe for SemanticPatchNode
impl Send for SemanticPatchNode
impl Sync for SemanticPatchNode
impl Unpin for SemanticPatchNode
impl UnsafeUnpin for SemanticPatchNode
impl UnwindSafe for SemanticPatchNode
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