Struct owned_ttf_parser::NormalizedCoordinate [−][src]
#[repr(transparent)]pub struct NormalizedCoordinate(_);
Expand description
A variation coordinate in a normalized coordinate system.
Basically any number in a -1.0..1.0 range. Where 0 is a default value.
The number is stored as f2.16
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Creates a new coordinate.
The provided number will be clamped to the -1.0..1.0 range.
Creates a new coordinate.
The provided number will be clamped to the -16384..16384 range.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NormalizedCoordinate
impl Send for NormalizedCoordinate
impl Sync for NormalizedCoordinate
impl Unpin for NormalizedCoordinate
impl UnwindSafe for NormalizedCoordinate
Blanket Implementations
Mutably borrows from an owned value. Read more