Struct ttf_parser::trak::Track
source · [−]pub struct Track<'a> {
pub value: f32,
pub name_index: u16,
pub values: LazyArray16<'a, i16>,
}Expand description
A single track.
Fields
value: f32A track value.
name_index: u16The name table index for the track’s name.
values: LazyArray16<'a, i16>A list of tracking values for each size.
Trait Implementations
impl<'a> Copy for Track<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Track<'a>
impl<'a> Send for Track<'a>
impl<'a> Sync for Track<'a>
impl<'a> Unpin for Track<'a>
impl<'a> UnwindSafe for Track<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more