XimRead

Trait XimRead 

Source
pub trait XimRead: Sized {
    // Required method
    fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>;
}

Required Methods§

Source

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl XimRead for bool

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Source§

impl XimRead for i16

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Source§

impl XimRead for i32

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Source§

impl XimRead for u8

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Source§

impl XimRead for u16

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Source§

impl XimRead for u32

Source§

fn read(reader: &mut Reader<'_>) -> Result<Self, ReadError>

Implementors§