pub struct MathRow { /* private fields */ }
Expand description
The <mrow>
element is used to group sub-expressions,
which usually contain one or more operators with their respective operands, such as <mi>
and <mn>
.
This element renders as a horizontal row containing its arguments.
When writing a MathML expression, you should group elements within an <mrow>
in the same way as they are grouped in the mathematical interpretation of the expression.
Proper grouping helps the rendering of the expression in several ways:
- It can improve the display by possibly affecting spacing and preventing line breaks.
- It simplifies the interpretation of the expression by automated systems such as computer algebra systems and audio renderers.
Implementations§
Source§impl MathRow
impl MathRow
Sourcepub fn new<I>(items: I) -> Selfwhere
I: IntoIterator<Item = MathML>,
pub fn new<I>(items: I) -> Selfwhere
I: IntoIterator<Item = MathML>,
Create a simple math space without any attributes, the unit is rem
.
Sourcepub fn group<I>(items: I) -> Selfwhere
I: IntoIterator<Item = MathML>,
pub fn group<I>(items: I) -> Selfwhere
I: IntoIterator<Item = MathML>,
Create a simple math space without any attributes, the unit is rem
.
Trait Implementations§
Source§impl<T> FromIterator<T> for MathRow
impl<T> FromIterator<T> for MathRow
Source§fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
fn from_iter<I>(iter: I) -> Selfwhere
I: IntoIterator<Item = T>,
Creates a value from an iterator. Read more
impl StructuralPartialEq for MathRow
Auto Trait Implementations§
impl Freeze for MathRow
impl RefUnwindSafe for MathRow
impl Send for MathRow
impl Sync for MathRow
impl Unpin for MathRow
impl UnwindSafe for MathRow
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