Struct ttf_parser::kern::state_machine::Machine [−][src]
pub struct Machine<'a> { /* fields omitted */ }
A state machine.
Implementations
impl<'a> Machine<'a>
[src][−]
pub fn class(&self, glyph_id: GlyphId) -> Option<u8>
[src][−]
Returns a glyph class.
pub fn entry(&self, state: State, class: u8) -> Option<Entry>
[src][−]
Returns a class entry.
pub fn kerning(&self, offset: ValueOffset) -> Option<i16>
[src][−]
Returns kerning at offset.
pub fn new_state(&self, state: State) -> State
[src][−]
Produces a new state.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Machine<'a>
impl<'a> Send for Machine<'a>
impl<'a> Sync for Machine<'a>
impl<'a> Unpin for Machine<'a>
impl<'a> UnwindSafe for Machine<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,