Trait as_with_bytes::AsBytes
[−]
[src]
pub trait AsBytes { fn as_bytes(&self) -> &[u8]; }
A trait used for converting into bytes.
Required Methods
fn as_bytes(&self) -> &[u8]
Returns a byte slice representation of self
.