Trait truetype::walue::Read

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

    // Required method
    fn read<T>(_: &mut T, _: Self::Parameter) -> Result<Self, Error>
       where T: Read;
}
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>(_: &mut T, _: Self::Parameter) -> Result<Self, Error>
where T: Read,

Read a value.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<V> Read<'static> for Vec<V>
where V: Read,

§

type Parameter = usize

source§

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

Implementors§