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