pub enum Size {
Delta(i32),
Points(i32),
}Expand description
A size recorded on a subtree, in 32nds of a point, MathType’s own resolution.
A delta is measured from the size the class resolves to, which is how Smaller and Larger
work: the offset follows the class when the preset changes. A delta needs the class it is
measured from, so a node carrying one records Styled::style too.
Variants§
Delta(i32)
Offset from the class’s size. Negative values shrink.
Points(i32)
An explicit size, which replaces the class, as Other Size assigns.
Implementations§
Trait Implementations§
impl Copy for Size
impl Eq for Size
impl StructuralPartialEq for Size
Auto Trait Implementations§
impl Forget for Size
impl Freeze for Size
impl Move for Size
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnsafeUnpin for Size
impl UnwindSafe for Size
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