Struct truetype::HorizontalMetrics
[−]
[src]
pub struct HorizontalMetrics { pub records: Vec<LongHorizontalMetric>, pub left_side_bearings: Vec<i16>, }
Horizontal metrics.
Fields
records: Vec<LongHorizontalMetric>
left_side_bearings: Vec<i16>
Methods
impl HorizontalMetrics
[src]
fn read<T: Tape>(tape: &mut T, header: &HorizontalHeader, profile: &MaximumProfile) -> Result<Self>
Read the table.
Trait Implementations
impl PartialEq for HorizontalMetrics
[src]
fn eq(&self, __arg_0: &HorizontalMetrics) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HorizontalMetrics) -> bool
This method tests for !=
.
impl Eq for HorizontalMetrics
[src]
impl Default for HorizontalMetrics
[src]
fn default() -> HorizontalMetrics
Returns the "default value" for a type. Read more
impl Debug for HorizontalMetrics
[src]
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