Trait postscript::Walue

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

    // Required method
    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§

source§

impl Walue<'static> for CharacterSet

source§

impl Walue<'static> for CharacterSet0

source§

impl Walue<'static> for CharacterSet1

source§

impl Walue<'static> for CharacterSet2

source§

impl Walue<'static> for CharacterStrings

source§

impl Walue<'static> for Offset

source§

impl<'l> Walue<'l> for Encoding

source§

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

source§

impl<'l> Walue<'l> for Encoding0

source§

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

source§

impl<'l> Walue<'l> for RecordInner

§

type Parameter = (u64, &'l Operations)

source§

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

§

type Parameter = (u64, &'l Operations)