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