pub struct DefCalGrammar { /* private fields */ }Implementations§
Source§impl DefCalGrammar
impl DefCalGrammar
pub fn defcalgrammar_token(&self) -> Option<SyntaxToken>
pub fn file(&self) -> Option<FilePath>
pub fn semicolon_token(&self) -> Option<SyntaxToken>
Trait Implementations§
Source§impl AstNode for DefCalGrammar
impl AstNode for DefCalGrammar
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 DefCalGrammar
impl Clone for DefCalGrammar
Source§fn clone(&self) -> DefCalGrammar
fn clone(&self) -> DefCalGrammar
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 DefCalGrammar
impl Debug for DefCalGrammar
Source§impl Display for DefCalGrammar
impl Display for DefCalGrammar
Source§impl From<DefCalGrammar> for Stmt
impl From<DefCalGrammar> for Stmt
Source§fn from(node: DefCalGrammar) -> Stmt
fn from(node: DefCalGrammar) -> Stmt
Converts to this type from the input type.
Source§impl Hash for DefCalGrammar
impl Hash for DefCalGrammar
Source§impl PartialEq for DefCalGrammar
impl PartialEq for DefCalGrammar
impl Eq for DefCalGrammar
impl StructuralPartialEq for DefCalGrammar
Auto Trait Implementations§
impl Freeze for DefCalGrammar
impl !RefUnwindSafe for DefCalGrammar
impl !Send for DefCalGrammar
impl !Sync for DefCalGrammar
impl Unpin for DefCalGrammar
impl !UnwindSafe for DefCalGrammar
Blanket Implementations§
Source§impl<N> AstNodeEdit for N
impl<N> AstNodeEdit for N
fn indent_level(&self) -> IndentLevel
fn indent(&self, level: IndentLevel) -> Self
fn dedent(&self, level: IndentLevel) -> Self
fn reset_indent(&self) -> Self
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more