Trait assembly_core::buffer::Repr

source ·
pub trait Repr {
    type Value;

    // Required method
    fn extract(&self) -> Self::Value;
}
Expand description

Similar to From<&U> for T

Required Associated Types§

source

type Value

The value that this struct encodes

Required Methods§

source

fn extract(&self) -> Self::Value

extract the contained value

Implementors§

source§

impl Repr for LEI64

§

type Value = i64

source§

impl Repr for LEU16

§

type Value = u16

source§

impl Repr for LEU32

§

type Value = u32