1 2 3 4 5 6 7 8 9 10 11
use super::Pointer; use ::bytes::Bytes; #[cfg(feature = "bytes")] impl Pointer for Bytes { type Target = u8; fn get(&self) -> *const Self::Target { self.as_ptr() } }