Struct ttf_parser::tables::math::MathValue
source · pub struct MathValue<'a> {
pub value: i16,
pub device: Option<Device<'a>>,
}
Expand description
A Math Value with optional device corrections.
Fields§
§value: i16
The X or Y value in font design units.
device: Option<Device<'a>>
Device corrections for this value.
Implementations§
Trait Implementations§
impl<'a> Copy for MathValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for MathValue<'a>
impl<'a> RefUnwindSafe for MathValue<'a>
impl<'a> Send for MathValue<'a>
impl<'a> Sync for MathValue<'a>
impl<'a> Unpin for MathValue<'a>
impl<'a> UnwindSafe for MathValue<'a>
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