[][src]Trait simple_string_builder::ToBytes

pub trait ToBytes {
    fn to_bytes(self) -> Vec<u8>;
}

Trait to convert to byte vec implement this to allow you struct to be used by builder

Required methods

fn to_bytes(self) -> Vec<u8>

convert your type to bytes repersenting string of your type

Loading content...

Implementations on Foreign Types

impl ToBytes for String[src]

impl<'_> ToBytes for &'_ str[src]

Loading content...

Implementors

Loading content...