pub trait CompileConstArray {
    fn const_array_type(&self) -> String;
    fn const_array_val(&self) -> String;

    fn const_array_declaration(&self, attrs: &str, vis: &str, name: &str) -> String { ... }
}
Expand description

Trait which defines how an array-representable type should be represented as a const array

Required Methods

Like const_type, but for a fixed-size array.

Like const_val, but for a fixed-size array.

Provided Methods

Like const_declaration, but for a fixed-size array.

Implementations on Foreign Types

Implementors