Trait ByteWritable

Source
pub trait ByteWritable {
    // Required method
    fn write_to_bytes(self, writer: &mut ByteWriter);
}

Required Methods§

Source

fn write_to_bytes(self, writer: &mut ByteWriter)

Implementations on Foreign Types§

Source§

impl ByteWritable for &[u8]

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for bool

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for f32

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for f64

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for i16

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for u8

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for u16

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for u64

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for u128

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for String

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Source§

impl ByteWritable for Vec<u8>

Source§

fn write_to_bytes(self, writer: &mut ByteWriter)

Implementors§