pub struct MathSpan {
pub svg: String,
pub width: f64,
pub height: f64,
pub depth: f64,
}Expand description
A typeset math label: a self-contained SVG fragment (glyph paths only, rasterizable with no font database) plus exact metrics in inches.
Fields§
§svg: StringComplete <svg …> document for the formula, tight box, origin at the
top-left. Embedded into the drawing as a nested <svg> element.
width: f64Advance width in inches.
height: f64Extent above the baseline in inches.
depth: f64Extent below the baseline in inches.
Trait Implementations§
impl StructuralPartialEq for MathSpan
Auto Trait Implementations§
impl Freeze for MathSpan
impl RefUnwindSafe for MathSpan
impl Send for MathSpan
impl Sync for MathSpan
impl Unpin for MathSpan
impl UnsafeUnpin for MathSpan
impl UnwindSafe for MathSpan
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