Trait std::ffi::IntoBytesUnstable
[-] [+]
[src]
pub trait IntoBytes { fn into_bytes(self) -> Vec<u8>; }
A conversion trait used by the constructor of CString
for types that can
be converted to a vector of bytes.
Required Methods
fn into_bytes(self) -> Vec<u8>
Consumes this container, returning a vector of bytes.