Trait postscript::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§

source§

impl Read<'static> for CharacterSet

source§

impl Read<'static> for CharacterSet0

source§

impl Read<'static> for CharacterSet1

source§

impl Read<'static> for CharacterSet2

source§

impl Read<'static> for CharacterStrings

source§

impl Read<'static> for Offset

source§

impl<'l> Read<'l> for Encoding

source§

impl<'l> Read<'l> for postscript::compact1::font_set::Record

source§

impl<'l> Read<'l> for Encoding0

source§

impl<'l> Read<'l> for postscript::compact1::font_set::character_id_keyed::Record

source§

impl<'l> Read<'l> for RecordInner

§

type Parameter = (u64, &'l Operations)

source§

impl<'l> Read<'l> for postscript::compact1::font_set::character_name_keyed::Record

§

type Parameter = (u64, &'l Operations)