Trait string_wrapper::Buffer
[−]
[src]
pub unsafe trait Buffer { fn as_ref(&self) -> &[u8]; fn as_mut(&mut self) -> &mut [u8]; }
Equivalent to AsMut<[u8]> + AsRef<[u8]>
with the addition constraint that
implementations must return the same slice from subsequent calls of as_mut
and/or as_ref
.
Required Methods
Implementors
impl<'a, T: ?Sized + Buffer> Buffer for &'a mut T
impl<'a, T: ?Sized + Buffer> Buffer for Box<T>
impl Buffer for Vec<u8>
impl Buffer for [u8]
impl Buffer for [u8; 0]
impl Buffer for [u8; 1]
impl Buffer for [u8; 2]
impl Buffer for [u8; 3]
impl Buffer for [u8; 4]
impl Buffer for [u8; 5]
impl Buffer for [u8; 6]
impl Buffer for [u8; 7]
impl Buffer for [u8; 8]
impl Buffer for [u8; 9]
impl Buffer for [u8; 10]
impl Buffer for [u8; 11]
impl Buffer for [u8; 12]
impl Buffer for [u8; 13]
impl Buffer for [u8; 14]
impl Buffer for [u8; 15]
impl Buffer for [u8; 16]
impl Buffer for [u8; 17]
impl Buffer for [u8; 18]
impl Buffer for [u8; 19]
impl Buffer for [u8; 20]
impl Buffer for [u8; 21]
impl Buffer for [u8; 22]
impl Buffer for [u8; 23]
impl Buffer for [u8; 24]
impl Buffer for [u8; 25]
impl Buffer for [u8; 26]
impl Buffer for [u8; 27]
impl Buffer for [u8; 28]
impl Buffer for [u8; 29]
impl Buffer for [u8; 30]
impl Buffer for [u8; 31]
impl Buffer for [u8; 32]
impl Buffer for [u8; 64]
impl Buffer for [u8; 128]
impl Buffer for [u8; 256]
impl Buffer for [u8; 512]
impl Buffer for [u8; 1024]
impl Buffer for [u8; 2048]
impl Buffer for [u8; 4096]
impl Buffer for [u8; 8192]
impl Buffer for [u8; 16384]
impl Buffer for [u8; 32768]
impl Buffer for [u8; 65536]
impl Buffer for [u8; 131072]
impl Buffer for [u8; 262144]
impl Buffer for [u8; 524288]
impl Buffer for [u8; 1048576]
impl Buffer for [u8; 2097152]
impl Buffer for [u8; 4194304]
impl Buffer for [u8; 8388608]
impl Buffer for [u8; 16777216]
impl Buffer for [u8; 33554432]
impl Buffer for [u8; 67108864]
impl Buffer for [u8; 134217728]
impl Buffer for [u8; 268435456]
impl Buffer for [u8; 536870912]
impl Buffer for [u8; 1073741824]
impl Buffer for [u8; 100]
impl Buffer for [u8; 1000]
impl Buffer for [u8; 10000]
impl Buffer for [u8; 100000]
impl Buffer for [u8; 1000000]
impl Buffer for [u8; 10000000]
impl Buffer for [u8; 100000000]
impl Buffer for [u8; 1000000000]