Trait typeface::Walue

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

    // Required method
    fn read<T: Tape>(tape: &mut T, parameter: Self::Parameter) -> Result<Self>;
}
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>(tape: &mut T, parameter: Self::Parameter) -> Result<Self>

Read a value.

Implementations on Foreign Types§

source§

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

§

type Parameter = usize

source§

fn read<T: Tape>(tape: &mut T, count: usize) -> Result<Self>

Implementors§