AdapterCoreMetadata

Trait AdapterCoreMetadata 

Source
pub trait AdapterCoreMetadata {
    // Required method
    fn get_adapter_width() -> usize;
}
Expand description

Metadata types need to implement this trait to be used with AdapterCoreLayout NOTE: get_adapter_width returns the size in bytes

Required Methods§

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§