logo

Trait zvariant::Basic[][src]

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.

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