logo
pub trait Basic: Type {
    const SIGNATURE_CHAR: char;
    const SIGNATURE_STR: &'static str;

    fn alignment(format: EncodingFormat) -> usize;
}
Expand description

Trait for basic types.

All basic types are also Type implementers.

Required Associated Constants

The type signature, as a character.

The type signature, as a string.

Required Methods

The required padding alignment for the given format.

Implementations on Foreign Types

Implementors