Trait truetype::Walue[][src]

pub trait Walue<'l>: Sized {
    type Parameter;
    fn read<T: Tape>(tape: &mut T, parameter: Self::Parameter) -> Result<Self>;
}

A type that can be read given a parameter.

Associated Types

type Parameter[src]

The parameter type.

Loading content...

Required methods

fn read<T: Tape>(tape: &mut T, parameter: Self::Parameter) -> Result<Self>[src]

Read a value.

Loading content...

Implementations on Foreign Types

impl<V> Walue<'static> for Vec<V> where
    V: Value
[src]

type Parameter = usize

Loading content...

Implementors

impl Walue<'static> for Arguments[src]

type Parameter = ComponentFlags

impl Walue<'static> for Description[src]

type Parameter = i16

impl Walue<'static> for Options[src]

type Parameter = ComponentFlags

impl Walue<'static> for SimpleDescription[src]

type Parameter = usize

impl<'l> Walue<'l> for GlyphMapping[src]

type Parameter = (&'l FontHeader, &'l MaximumProfile)

impl<'l> Walue<'l> for GlyphData[src]

type Parameter = &'l GlyphMapping

impl<'l> Walue<'l> for HorizontalMetrics[src]

type Parameter = (&'l HorizontalHeader, &'l MaximumProfile)

Loading content...