pub enum RecordContext {
Font,
Direction(MetricsSets),
CharacterMetrics,
Character(usize),
KernData,
KernPairs(Direction),
TrackKern,
Composites,
Composite(usize),
}Expand description
Location of a comment or unrecognized record within the parsed AFM structure.
Variants§
Font
Global font information (including comments before the header).
Direction(MetricsSets)
An explicit writing-direction section.
CharacterMetrics
Character-metric section outside an individual record.
Character(usize)
A character record, indexed in FontMetrics::character_metrics.
KernData
A kerning container outside its subsections.
KernPairs(Direction)
Pair section for the given direction.
TrackKern
Track-kerning section.
Composites
Composite section outside an individual record.
Composite(usize)
A composite record, indexed in FontMetrics::composites.
Trait Implementations§
Source§impl Clone for RecordContext
impl Clone for RecordContext
Source§fn clone(&self) -> RecordContext
fn clone(&self) -> RecordContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordContext
Source§impl Debug for RecordContext
impl Debug for RecordContext
impl Eq for RecordContext
Source§impl PartialEq for RecordContext
impl PartialEq for RecordContext
Source§fn eq(&self, other: &RecordContext) -> bool
fn eq(&self, other: &RecordContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RecordContext
Auto Trait Implementations§
impl Freeze for RecordContext
impl RefUnwindSafe for RecordContext
impl Send for RecordContext
impl Sync for RecordContext
impl Unpin for RecordContext
impl UnsafeUnpin for RecordContext
impl UnwindSafe for RecordContext
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