Skip to main content

AttributeShape

Trait AttributeShape 

Source
pub trait AttributeShape:
    Sealed
    + Send
    + 'static {
    // Required method
    fn storage<T: NumericPrimitive>() -> StorageType;
}
Expand description

Sealed mapping from an attribute shape and numeric Rust type to HAPI storage.

Implemented by Fixed and Jagged. It is primarily used as a generic bound on typed lookup and creation methods.

Required Methods§

Source

fn storage<T: NumericPrimitive>() -> StorageType

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§