pub struct Operator { /* private fields */ }
Expand description
The mo
element represents an operator or anything that should be rendered as an operator. In
general, the notational conventions for mathematical operators are quite complicated, and
therefore MathML provides a relatively sophisticated mechanism for specifying the rendering
behavior of an <mo>
element.
Implementations§
source§impl Operator
impl Operator
sourcepub fn double_dot() -> Self
pub fn double_dot() -> Self
Create a ‘¨’ operator.
sourcepub fn circle_plus() -> Self
pub fn circle_plus() -> Self
Create a ‘⊕’ operator.
sourcepub fn circle_times() -> Self
pub fn circle_times() -> Self
Create a ‘⊗’ operator.
sourcepub fn circle_dot() -> Self
pub fn circle_dot() -> Self
Create a ‘⊙’ operator.
sourcepub fn circle_integral() -> Self
pub fn circle_integral() -> Self
Create a ‘∮’ operator.
sourcepub fn partial_diff() -> Self
pub fn partial_diff() -> Self
Create a ‘∂’ operator.
sourcepub fn plus_minus() -> Self
pub fn plus_minus() -> Self
Create a ‘±’ operator.
sourcepub fn not_in_set() -> Self
pub fn not_in_set() -> Self
Create a ‘∉’ operator.
sourcepub fn equivalent() -> Self
pub fn equivalent() -> Self
Create a ‘≡’ operator.
sourcepub fn circumflex() -> Self
pub fn circumflex() -> Self
Create a ‘^’ operator.
source§impl Operator
impl Operator
sourcepub fn builder() -> OperatorBuilder<Uninit>
pub fn builder() -> OperatorBuilder<Uninit>
Create a builder for Operator
element.
sourcepub fn attributes(&self) -> &[OperatorAttr]
pub fn attributes(&self) -> &[OperatorAttr]
Get a reference to all attributes of the Operator
element.
Trait Implementations§
source§impl IntoElements for Operator
impl IntoElements for Operator
source§fn into_elements(self) -> Elements
fn into_elements(self) -> Elements
Converts the type into elements.
source§impl Ord for Operator
impl Ord for Operator
source§impl PartialEq for Operator
impl PartialEq for Operator
source§impl PartialOrd for Operator
impl PartialOrd for Operator
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Operator
impl StructuralEq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
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