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