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