Struct ttf_parser::NormalizedCoordinate
source · [−]#[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
sourceimpl Clone for NormalizedCoordinate
impl Clone for NormalizedCoordinate
sourcefn clone(&self) -> NormalizedCoordinate
fn clone(&self) -> NormalizedCoordinate
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NormalizedCoordinate
impl Debug for NormalizedCoordinate
sourceimpl Default for NormalizedCoordinate
impl Default for NormalizedCoordinate
sourcefn default() -> NormalizedCoordinate
fn default() -> NormalizedCoordinate
Returns the “default value” for a type. Read more
sourceimpl From<f32> for NormalizedCoordinate
impl From<f32> for NormalizedCoordinate
sourceimpl From<i16> for NormalizedCoordinate
impl From<i16> for NormalizedCoordinate
sourceimpl PartialEq<NormalizedCoordinate> for NormalizedCoordinate
impl PartialEq<NormalizedCoordinate> for NormalizedCoordinate
sourcefn eq(&self, other: &NormalizedCoordinate) -> bool
fn eq(&self, other: &NormalizedCoordinate) -> bool
impl Copy for NormalizedCoordinate
impl Eq for NormalizedCoordinate
impl StructuralEq for NormalizedCoordinate
impl StructuralPartialEq for NormalizedCoordinate
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more