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