pub struct DisplayMath(/* private fields */);Implementations§
Source§impl DisplayMath
impl DisplayMath
pub fn opening_marker(&self) -> Option<String>
pub fn closing_marker(&self) -> Option<String>
pub fn content(&self) -> String
pub fn is_environment_form(&self) -> bool
pub fn has_unescaped_single_dollar_in_content(&self) -> bool
Trait Implementations§
Source§impl AstNode for DisplayMath
impl AstNode for DisplayMath
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 Freeze for DisplayMath
impl !RefUnwindSafe for DisplayMath
impl !Send for DisplayMath
impl !Sync for DisplayMath
impl Unpin for DisplayMath
impl UnsafeUnpin for DisplayMath
impl !UnwindSafe for DisplayMath
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