Trait lazy_bytes_cast::ToBytesCast
[−]
[src]
pub unsafe trait ToBytesCast {
fn to_bytes(&self) -> Vec<u8>;
}Trait to provide to_bytes method for a arbitrary data.
This trait is implemented for a basic integer that can be safely converted.