pub struct Drop { /* private fields */ }
Implementations§
Source§impl Drop
impl Drop
pub fn drop_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for Drop
impl AstNode for Drop
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Source§impl From<Drop> for OnCommitAction
impl From<Drop> for OnCommitAction
Source§fn from(node: Drop) -> OnCommitAction
fn from(node: Drop) -> OnCommitAction
Converts to this type from the input type.
impl Eq for Drop
impl StructuralPartialEq for Drop
Auto Trait Implementations§
impl Freeze for Drop
impl !RefUnwindSafe for Drop
impl !Send for Drop
impl !Sync for Drop
impl Unpin for Drop
impl !UnwindSafe for Drop
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