pub struct MathDelimited(/* private fields */);Expand description
A \left<d> ... \right<d> paired-delimiter run.
Implementations§
Source§impl MathDelimited
impl MathDelimited
Sourcepub fn left_token(&self) -> Option<SyntaxToken>
pub fn left_token(&self) -> Option<SyntaxToken>
The opening \left command token.
Sourcepub fn right_token(&self) -> Option<SyntaxToken>
pub fn right_token(&self) -> Option<SyntaxToken>
The closing \right command token, absent when the run is unclosed.
Trait Implementations§
Source§impl AstNode for MathDelimited
impl AstNode for MathDelimited
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 MathDelimited
impl !Send for MathDelimited
impl !Sync for MathDelimited
impl !UnwindSafe for MathDelimited
impl Freeze for MathDelimited
impl Unpin for MathDelimited
impl UnsafeUnpin for MathDelimited
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