pub struct AlterRule { /* private fields */ }
Implementations§
Source§impl AlterRule
impl AlterRule
pub fn name_ref(&self) -> Option<NameRef>
pub fn alter_token(&self) -> Option<SyntaxToken>
pub fn on_token(&self) -> Option<SyntaxToken>
pub fn rule_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for AlterRule
impl AstNode for AlterRule
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 AlterRule
impl StructuralPartialEq for AlterRule
Auto Trait Implementations§
impl Freeze for AlterRule
impl !RefUnwindSafe for AlterRule
impl !Send for AlterRule
impl !Sync for AlterRule
impl Unpin for AlterRule
impl !UnwindSafe for AlterRule
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