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