pub struct Math {
pub body: Node,
pub style: MathStyle,
pub inline: bool,
}Expand description
A complete equation together with the size preset it is laid out at.
Fields§
§body: Node§style: MathStyle§inline: boolWhether the equation is placed inline in the host document rather than on a line of its own. A new equation is a display equation.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Math
Auto Trait Implementations§
impl Forget for Math
impl Freeze for Mathwhere
*const u8 is !null: Freeze,
PhantomData<Node>: Freeze,
*const TextRun is !null: Freeze,
PhantomData<TextRun>: Freeze,
*const Frac is !null: Freeze,
PhantomData<Frac>: Freeze,
*const Sqrt is !null: Freeze,
PhantomData<Sqrt>: Freeze,
*const Scripts is !null: Freeze,
PhantomData<Scripts>: Freeze,
*const Limits is !null: Freeze,
PhantomData<Limits>: Freeze,
*const Fence is !null: Freeze,
PhantomData<Fence>: Freeze,
*const Matrix is !null: Freeze,
PhantomData<Matrix>: Freeze,
*const Accent is !null: Freeze,
PhantomData<Accent>: Freeze,
*const LabeledArrow is !null: Freeze,
PhantomData<LabeledArrow>: Freeze,
*const BigOp is !null: Freeze,
PhantomData<BigOp>: Freeze,
*const Styled is !null: Freeze,
PhantomData<Styled>: Freeze,
PhantomData<u8>: Freeze,
impl Move for Math
impl RefUnwindSafe for Math
impl Send for Math
impl Sync for Math
impl Unpin for Math
impl UnsafeUnpin for Mathwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Node>: UnsafeUnpin,
*const TextRun is !null: UnsafeUnpin,
PhantomData<TextRun>: UnsafeUnpin,
*const Frac is !null: UnsafeUnpin,
PhantomData<Frac>: UnsafeUnpin,
*const Sqrt is !null: UnsafeUnpin,
PhantomData<Sqrt>: UnsafeUnpin,
*const Scripts is !null: UnsafeUnpin,
PhantomData<Scripts>: UnsafeUnpin,
*const Limits is !null: UnsafeUnpin,
PhantomData<Limits>: UnsafeUnpin,
*const Fence is !null: UnsafeUnpin,
PhantomData<Fence>: UnsafeUnpin,
*const Matrix is !null: UnsafeUnpin,
PhantomData<Matrix>: UnsafeUnpin,
*const Accent is !null: UnsafeUnpin,
PhantomData<Accent>: UnsafeUnpin,
*const LabeledArrow is !null: UnsafeUnpin,
PhantomData<LabeledArrow>: UnsafeUnpin,
*const BigOp is !null: UnsafeUnpin,
PhantomData<BigOp>: UnsafeUnpin,
*const Styled is !null: UnsafeUnpin,
PhantomData<Styled>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Mathwhere
RawVecInner: UnwindSafe,
BoxRaw<TextRun>: UnwindSafe,
BoxRaw<Frac>: UnwindSafe,
BoxRaw<Sqrt>: UnwindSafe,
BoxRaw<Scripts>: UnwindSafe,
BoxRaw<Limits>: UnwindSafe,
BoxRaw<Fence>: UnwindSafe,
BoxRaw<Matrix>: UnwindSafe,
BoxRaw<Accent>: UnwindSafe,
BoxRaw<LabeledArrow>: UnwindSafe,
BoxRaw<BigOp>: UnwindSafe,
BoxRaw<Styled>: UnwindSafe,
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