Trait truetype::Walue

source ·
pub trait Walue<'l>: Sized {
    type Parameter;

    fn read<T>(tape: &mut T, parameter: Self::Parameter) -> Result<Self, Error>
    where
        T: Tape
; }
Expand description

A type that can be read given a parameter.

Required Associated Types§

source

type Parameter

The parameter type.

Required Methods§

source

fn read<T>(tape: &mut T, parameter: Self::Parameter) -> Result<Self, Error>where
    T: Tape,

Read a value.

Implementations on Foreign Types§

source§

impl<V> Walue<'static> for Vec<V, Global>where
    V: Value,

§

type Parameter = usize

source§

fn read<T>(tape: &mut T, count: usize) -> Result<Vec<V, Global>, Error>where
    T: Tape,

Implementors§