pub enum AlterTypeAction {
AddAttribute(AddAttribute),
AlterAttribute(AlterAttribute),
DropAttribute(DropAttribute),
}Variants§
Trait Implementations§
Source§impl AstNode for AlterTypeAction
impl AstNode for AlterTypeAction
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 AlterTypeAction
impl Clone for AlterTypeAction
Source§fn clone(&self) -> AlterTypeAction
fn clone(&self) -> AlterTypeAction
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 AlterTypeAction
impl Debug for AlterTypeAction
Source§impl From<AddAttribute> for AlterTypeAction
impl From<AddAttribute> for AlterTypeAction
Source§fn from(node: AddAttribute) -> AlterTypeAction
fn from(node: AddAttribute) -> AlterTypeAction
Converts to this type from the input type.
Source§impl From<AlterAttribute> for AlterTypeAction
impl From<AlterAttribute> for AlterTypeAction
Source§fn from(node: AlterAttribute) -> AlterTypeAction
fn from(node: AlterAttribute) -> AlterTypeAction
Converts to this type from the input type.
Source§impl From<DropAttribute> for AlterTypeAction
impl From<DropAttribute> for AlterTypeAction
Source§fn from(node: DropAttribute) -> AlterTypeAction
fn from(node: DropAttribute) -> AlterTypeAction
Converts to this type from the input type.
Source§impl Hash for AlterTypeAction
impl Hash for AlterTypeAction
Source§impl PartialEq for AlterTypeAction
impl PartialEq for AlterTypeAction
impl Eq for AlterTypeAction
impl StructuralPartialEq for AlterTypeAction
Auto Trait Implementations§
impl Freeze for AlterTypeAction
impl !RefUnwindSafe for AlterTypeAction
impl !Send for AlterTypeAction
impl !Sync for AlterTypeAction
impl Unpin for AlterTypeAction
impl UnsafeUnpin for AlterTypeAction
impl !UnwindSafe for AlterTypeAction
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