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