Struct truetype::horizontal_metrics::HorizontalMetrics
[−]
[src]
pub struct HorizontalMetrics { pub records: Vec<Record>, pub left_side_bearings: Vec<i16>, }
Horizontal metrics.
Fields
records: Vec<Record>
left_side_bearings: Vec<i16>
Methods
impl HorizontalMetrics
[src]
Trait Implementations
impl Clone for HorizontalMetrics
[src]
fn clone(&self) -> HorizontalMetrics
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for HorizontalMetrics
[src]
impl<'l> Walue<'l> for HorizontalMetrics
[src]
type Parameter = (&'l HorizontalHeader, &'l MaximumProfile)
The parameter type.
fn read<T: Tape>(tape: &mut T,
(header, profile): Self::Parameter)
-> Result<Self>
(header, profile): Self::Parameter)
-> Result<Self>
Read a value.