pub struct DropExtension { /* private fields */ }
Implementations§
Source§impl DropExtension
impl DropExtension
pub fn if_exists(&self) -> Option<IfExists>
pub fn name_refs(&self) -> AstChildren<NameRef> ⓘ
pub fn drop_token(&self) -> Option<SyntaxToken>
pub fn extension_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DropExtension
impl AstNode for DropExtension
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 Clone for DropExtension
impl Clone for DropExtension
Source§fn clone(&self) -> DropExtension
fn clone(&self) -> DropExtension
Returns a duplicate of the value. Read more
1.0.0 · 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 DropExtension
impl Debug for DropExtension
Source§impl From<DropExtension> for Stmt
impl From<DropExtension> for Stmt
Source§fn from(node: DropExtension) -> Stmt
fn from(node: DropExtension) -> Stmt
Converts to this type from the input type.
Source§impl Hash for DropExtension
impl Hash for DropExtension
Source§impl PartialEq for DropExtension
impl PartialEq for DropExtension
impl Eq for DropExtension
impl StructuralPartialEq for DropExtension
Auto Trait Implementations§
impl Freeze for DropExtension
impl !RefUnwindSafe for DropExtension
impl !Send for DropExtension
impl !Sync for DropExtension
impl Unpin for DropExtension
impl !UnwindSafe for DropExtension
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