Enum truetype::tables::glyph_data::Options
source · pub enum Options {
None,
Scalar(q16),
Vector(q16, q16),
Matrix(q16, q16, q16, q16),
}
Expand description
Options of a component.
Variants§
None
No options.
Scalar(q16)
A scaling coefficient for both coordinates.
Vector(q16, q16)
Separate scaling coefficients for the two coordinates.
Matrix(q16, q16, q16, q16)
A 2-by-2 affine transformation matrix.
Trait Implementations§
impl Copy for Options
Auto Trait Implementations§
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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