pub struct DisableRule { /* private fields */ }
Implementations§
Source§impl DisableRule
impl DisableRule
pub fn disable_token(&self) -> Option<SyntaxToken>
pub fn rule_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DisableRule
impl AstNode for DisableRule
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 DisableRule
impl Clone for DisableRule
Source§fn clone(&self) -> DisableRule
fn clone(&self) -> DisableRule
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 DisableRule
impl Debug for DisableRule
Source§impl From<DisableRule> for AlterTableAction
impl From<DisableRule> for AlterTableAction
Source§fn from(node: DisableRule) -> AlterTableAction
fn from(node: DisableRule) -> AlterTableAction
Converts to this type from the input type.
Source§impl Hash for DisableRule
impl Hash for DisableRule
Source§impl PartialEq for DisableRule
impl PartialEq for DisableRule
impl Eq for DisableRule
impl StructuralPartialEq for DisableRule
Auto Trait Implementations§
impl Freeze for DisableRule
impl !RefUnwindSafe for DisableRule
impl !Send for DisableRule
impl !Sync for DisableRule
impl Unpin for DisableRule
impl !UnwindSafe for DisableRule
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