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