Skip to main content

AsBytesExt

Trait AsBytesExt 

Source
pub trait AsBytesExt: ByteArray + AsBytes {
    // Provided method
    fn as_byte_array(&self) -> &Self::ByteArray { ... }
}

Provided Methods§

Source

fn as_byte_array(&self) -> &Self::ByteArray

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§