pub struct MathGroup(/* private fields */);Expand description
A { ... } brace group.
Implementations§
Source§impl MathGroup
impl MathGroup
Sourcepub fn open_token(&self) -> Option<SyntaxToken>
pub fn open_token(&self) -> Option<SyntaxToken>
The opening { token.
Sourcepub fn close_token(&self) -> Option<SyntaxToken>
pub fn close_token(&self) -> Option<SyntaxToken>
The closing } token, absent when the group is unclosed.
Trait Implementations§
Source§impl AstNode for MathGroup
impl AstNode for MathGroup
type Language = PanacheLanguage
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,
Auto Trait Implementations§
impl !RefUnwindSafe for MathGroup
impl !Send for MathGroup
impl !Sync for MathGroup
impl !UnwindSafe for MathGroup
impl Freeze for MathGroup
impl Unpin for MathGroup
impl UnsafeUnpin for MathGroup
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