pub struct Instance(/* private fields */);Expand description
[LOCAL] INSTANCE M WITH ... as a unit.
Implementations§
Source§impl Instance
impl Instance
Sourcepub fn instantiation(&self) -> Option<Instantiation>
pub fn instantiation(&self) -> Option<Instantiation>
The instantiation.
Trait Implementations§
Source§impl AstNode for Instance
impl AstNode for Instance
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.
impl Eq for Instance
impl StructuralPartialEq for Instance
Auto Trait Implementations§
impl !RefUnwindSafe for Instance
impl !Send for Instance
impl !Sync for Instance
impl !UnwindSafe for Instance
impl Forget for Instance
impl Freeze for Instance
impl Move for Instance
impl Unpin for Instance
impl UnsafeUnpin for Instance
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