Trait const_gen::CompileConstArray[][src]

pub trait CompileConstArray {
    fn const_array_type(&self) -> String;
fn const_array_val(&self) -> String; fn const_array_declaration(&self, 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