Trait string_builder::ToBytes [] [src]

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

A trait to convert a value into a byte slice that can be appended to a Builder.

Required Methods

Implementations on Foreign Types

impl ToBytes for String
[src]

[src]

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

[src]

impl ToBytes for u8
[src]

[src]

impl ToBytes for char
[src]

[src]

impl<'a> ToBytes for &'a [u8]
[src]

[src]

Implementors