pub struct MathMLOperator(/* private fields */);Expand description
A character for use in MathML <mo> elements.
LaTeX’s operator classes cannot be mapped cleanly to MathML’s <mo> vs <mi> distinction.
Some characters that are in class 0 in LaTeX are nevertheless rendered as <mo> in MathML.
Implementations§
Source§impl MathMLOperator
impl MathMLOperator
pub const fn as_superchar(self) -> SuperChar
pub fn with_overlay(self, overlay: OverlayChar) -> Self
pub fn as_chars(self) -> impl Iterator<Item = char>
pub const fn try_as_char(self) -> Option<char>
Trait Implementations§
Source§impl Clone for MathMLOperator
impl Clone for MathMLOperator
Source§fn clone(&self) -> MathMLOperator
fn clone(&self) -> MathMLOperator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MathMLOperator
Source§impl Debug for MathMLOperator
impl Debug for MathMLOperator
Source§impl Display for MathMLOperator
impl Display for MathMLOperator
impl Eq for MathMLOperator
Source§impl PartialEq for MathMLOperator
impl PartialEq for MathMLOperator
Source§fn eq(&self, other: &MathMLOperator) -> bool
fn eq(&self, other: &MathMLOperator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MathMLOperator
Auto Trait Implementations§
impl Freeze for MathMLOperator
impl RefUnwindSafe for MathMLOperator
impl Send for MathMLOperator
impl Sync for MathMLOperator
impl Unpin for MathMLOperator
impl UnsafeUnpin for MathMLOperator
impl UnwindSafe for MathMLOperator
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