azalea_buf

Trait McBufVarWritable

Source
pub trait McBufVarWritable {
    // Required method
    fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>;
}

Required Methods§

Source

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

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 McBufVarWritable for i32

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl McBufVarWritable for i64

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl McBufVarWritable for u16

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl McBufVarWritable for u32

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl McBufVarWritable for u64

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl<K: McBufWritable, V: McBufVarWritable> McBufVarWritable for HashMap<K, V>

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl<T: McBufVarWritable> McBufVarWritable for Option<T>

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Source§

impl<T: McBufVarWritable> McBufVarWritable for Vec<T>

Source§

fn var_write_into(&self, buf: &mut impl Write) -> Result<(), Error>

Implementors§