pub struct InlineMath(/* private fields */);Implementations§
Source§impl InlineMath
impl InlineMath
pub fn opening_marker(&self) -> Option<String>
pub fn closing_marker(&self) -> Option<String>
Sourcepub fn content(&self) -> String
pub fn content(&self) -> String
The raw math content between the delimiters, reconstructed from the
MATH_CONTENT subtree (excluding host container prefixes — see
super::math::math_content_text).
pub fn content_range(&self) -> Option<TextRange>
Trait Implementations§
Source§impl AstNode for InlineMath
impl AstNode for InlineMath
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 InlineMath
impl !Send for InlineMath
impl !Sync for InlineMath
impl !UnwindSafe for InlineMath
impl Freeze for InlineMath
impl Unpin for InlineMath
impl UnsafeUnpin for InlineMath
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