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: f32
A track value.
name_index: u16
The 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> Freeze for Track<'a>
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)