1 2 3 4 5 6 7 8 9
use std::borrow::Borrow; use crate::Buffer; impl Borrow<[u8]> for Buffer { fn borrow(&self) -> &[u8] { self } }