pub struct MathExpression {
pub is_display: bool,
pub zone: MathZone,
}Expand description
A math expression extracted from an <m:oMath> element (ECMA-376 Part 1 §22.1).
Fields§
§is_display: booltrue for display (block) math (<m:oMathPara>), false for inline (<m:oMath>).
zone: MathZoneThe parsed OMML math zone containing the structured math content.
Implementations§
Trait Implementations§
Source§impl Clone for MathExpression
impl Clone for MathExpression
Source§fn clone(&self) -> MathExpression
fn clone(&self) -> MathExpression
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MathExpression
impl RefUnwindSafe for MathExpression
impl Send for MathExpression
impl Sync for MathExpression
impl Unpin for MathExpression
impl UnsafeUnpin for MathExpression
impl UnwindSafe for MathExpression
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