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