Trait typeface::Value

source ·
pub trait Value: Sized {
    // Required method
    fn read<T: Tape>(tape: &mut T) -> Result<Self>;
}
Expand description

A type that can be read.

Required Methods§

source

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

Read a value.

Implementations on Foreign Types§

source§

impl Value for i8

source§

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

source§

impl Value for u8

source§

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

source§

impl Value for i16

source§

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

source§

impl Value for u16

source§

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

source§

impl Value for i32

source§

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

source§

impl Value for u32

source§

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

source§

impl Value for i64

source§

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

source§

impl Value for [u8; 3]

source§

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

source§

impl Value for [i8; 4]

source§

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

source§

impl Value for [u8; 4]

source§

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

source§

impl Value for [u8; 10]

source§

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

Implementors§