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