pub struct Assumption(/* private fields */);Expand description
ASSUME/ASSUMPTION/AXIOM.
Implementations§
Trait Implementations§
Source§impl AstNode for Assumption
impl AstNode for Assumption
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
Source§impl Clone for Assumption
impl Clone for Assumption
Source§impl Debug for Assumption
impl Debug for Assumption
impl Eq for Assumption
Source§impl Hash for Assumption
impl Hash for Assumption
Source§impl PartialEq for Assumption
impl PartialEq for Assumption
impl StructuralPartialEq for Assumption
Auto Trait Implementations§
impl !RefUnwindSafe for Assumption
impl !Send for Assumption
impl !Sync for Assumption
impl !UnwindSafe for Assumption
impl Forget for Assumption
impl Freeze for Assumption
impl Move for Assumption
impl Unpin for Assumption
impl UnsafeUnpin for Assumption
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