Skip to main content

ArrayManufacture

Trait ArrayManufacture 

Source
pub trait ArrayManufacture {
    type Array: FromBytes + IntoBytes + Immutable;
}
Expand description

Trait that associates an ArrayFactory with its corresponding aligned array type.

This trait is implemented for ArrayFactory<A, N> where A is 1, 2, 4, or 8, mapping to U8Array, U16Array, U32Array, and U64Array respectively.

Required Associated Types§

Source

type Array: FromBytes + IntoBytes + Immutable

The aligned array type produced by this factory.

Implementors§