pub struct AlterAttribute { /* private fields */ }Implementations§
Source§impl AlterAttribute
impl AlterAttribute
pub fn cascade(&self) -> Option<Cascade>
pub fn restrict(&self) -> Option<Restrict>
pub fn alter_token(&self) -> Option<SyntaxToken>
pub fn attribute_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterAttribute
impl AstNode for AlterAttribute
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 AlterAttribute
impl Clone for AlterAttribute
Source§fn clone(&self) -> AlterAttribute
fn clone(&self) -> AlterAttribute
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 AlterAttribute
impl Debug for AlterAttribute
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 Hash for AlterAttribute
impl Hash for AlterAttribute
Source§impl PartialEq for AlterAttribute
impl PartialEq for AlterAttribute
impl Eq for AlterAttribute
impl StructuralPartialEq for AlterAttribute
Auto Trait Implementations§
impl Freeze for AlterAttribute
impl !RefUnwindSafe for AlterAttribute
impl !Send for AlterAttribute
impl !Sync for AlterAttribute
impl Unpin for AlterAttribute
impl UnsafeUnpin for AlterAttribute
impl !UnwindSafe for AlterAttribute
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