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