Struct 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
impl Clone for NormalizedCoordinate[src]
impl Clone for NormalizedCoordinate[src]fn clone(&self) -> NormalizedCoordinate[src]
fn clone(&self) -> NormalizedCoordinate[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Debug for NormalizedCoordinate[src]
impl Debug for NormalizedCoordinate[src]impl Default for NormalizedCoordinate[src]
impl Default for NormalizedCoordinate[src]fn default() -> NormalizedCoordinate[src]
fn default() -> NormalizedCoordinate[src]Returns the “default value” for a type. Read more
impl From<f32> for NormalizedCoordinate[src]
impl From<f32> for NormalizedCoordinate[src]impl From<i16> for NormalizedCoordinate[src]
impl From<i16> for NormalizedCoordinate[src]impl PartialEq<NormalizedCoordinate> for NormalizedCoordinate[src]
impl PartialEq<NormalizedCoordinate> for NormalizedCoordinate[src]fn eq(&self, other: &NormalizedCoordinate) -> bool[src]
fn eq(&self, other: &NormalizedCoordinate) -> bool[src]This method tests for self and other values to be equal, and is used
by ==. Read more
fn ne(&self, other: &NormalizedCoordinate) -> bool[src]
fn ne(&self, other: &NormalizedCoordinate) -> bool[src]This method tests for !=.
impl Copy for NormalizedCoordinate[src]
impl StructuralPartialEq for NormalizedCoordinate[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more