XimWrite

Trait XimWrite 

Source
pub trait XimWrite {
    // Required methods
    fn write(&self, writer: &mut Writer<'_>);
    fn size(&self) -> usize;
}

Required Methods§

Source

fn write(&self, writer: &mut Writer<'_>)

Source

fn size(&self) -> usize

byte size of format

Implementations on Foreign Types§

Source§

impl XimWrite for bool

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl XimWrite for i16

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl XimWrite for i32

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl XimWrite for u8

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl XimWrite for u16

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl XimWrite for u32

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Source§

impl<T> XimWrite for &T
where T: XimWrite,

Source§

fn write(&self, writer: &mut Writer<'_>)

Source§

fn size(&self) -> usize

Implementors§