pub struct DropFunction { /* private fields */ }
Implementations§
Source§impl DropFunction
impl DropFunction
pub fn if_exists(&self) -> Option<IfExists>
pub fn drop_token(&self) -> Option<SyntaxToken>
pub fn function_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DropFunction
impl AstNode for DropFunction
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 DropFunction
impl Clone for DropFunction
Source§fn clone(&self) -> DropFunction
fn clone(&self) -> DropFunction
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 DropFunction
impl Debug for DropFunction
Source§impl From<DropFunction> for Stmt
impl From<DropFunction> for Stmt
Source§fn from(node: DropFunction) -> Stmt
fn from(node: DropFunction) -> Stmt
Converts to this type from the input type.
Source§impl Hash for DropFunction
impl Hash for DropFunction
Source§impl PartialEq for DropFunction
impl PartialEq for DropFunction
impl Eq for DropFunction
impl StructuralPartialEq for DropFunction
Auto Trait Implementations§
impl Freeze for DropFunction
impl !RefUnwindSafe for DropFunction
impl !Send for DropFunction
impl !Sync for DropFunction
impl Unpin for DropFunction
impl !UnwindSafe for DropFunction
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