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