pub struct MathState {
pub style: i32,
pub size: u32,
pub mu: i32,
pub op_kern: i32,
}Expand description
The state of the conversion (cur_style, cur_size, cur_mu).
Fields§
§style: i32The current style.
size: u32The current size: 0 text, 1 script, 2 scriptscript.
mu: i32The math unit.
op_kern: i32A kern to put after the operator box being converted (an OpenType operator’s italic correction, negated, before its subscript).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MathState
impl RefUnwindSafe for MathState
impl Send for MathState
impl Sync for MathState
impl Unpin for MathState
impl UnsafeUnpin for MathState
impl UnwindSafe for MathState
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