pub type PyBytesRef = PyRef<PyBytes>;

Trait Implementations§

source§

impl AsRef<[u8]> for PyBytesRef

source§

fn as_ref(&self) -> &[u8]

Converts this type into a shared reference of the (usually inferred) input type.