Trait Writable

Source
pub trait Writable {
    // Required method
    fn write(self, into: &mut Vec<u8>);
}

Required Methods§

Source

fn write(self, into: &mut Vec<u8>)

Implementations on Foreign Types§

Source§

impl Writable for &str

Source§

fn write(self, into: &mut Vec<u8>)

Source§

impl Writable for &String

Source§

fn write(self, into: &mut Vec<u8>)

Source§

impl Writable for char

Source§

fn write(self, into: &mut Vec<u8>)

Source§

impl Writable for i8

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for i16

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for i32

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for i64

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for i128

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for isize

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for u8

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for u16

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for u32

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for u64

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for u128

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for usize

Source§

fn write(self, to: &mut Vec<u8>)

Source§

impl Writable for String

Source§

fn write(self, into: &mut Vec<u8>)

Source§

impl Writable for Arguments<'_>

Source§

fn write(self, into: &mut Vec<u8>)

Implementors§

Source§

impl<F> Writable for F
where F: FnOnce(&mut Vec<u8>),