pub struct AlterType { /* private fields */ }Implementations§
Source§impl AlterType
impl AlterType
pub fn add_value(&self) -> Option<AddValue>
pub fn alter_type_actions(&self) -> AstChildren<AlterTypeAction> ⓘ
pub fn owner_to(&self) -> Option<OwnerTo>
pub fn path(&self) -> Option<Path>
pub fn rename_attribute(&self) -> Option<RenameAttribute>
pub fn rename_to(&self) -> Option<RenameTo>
pub fn rename_value(&self) -> Option<RenameValue>
pub fn set_options(&self) -> Option<SetOptions>
pub fn set_schema(&self) -> Option<SetSchema>
pub fn alter_token(&self) -> Option<SyntaxToken>
pub fn type_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterType
impl AstNode for AlterType
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,
impl Eq for AlterType
impl StructuralPartialEq for AlterType
Auto Trait Implementations§
impl Freeze for AlterType
impl !RefUnwindSafe for AlterType
impl !Send for AlterType
impl !Sync for AlterType
impl Unpin for AlterType
impl UnsafeUnpin for AlterType
impl !UnwindSafe for AlterType
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