Trait gfx::format::Formatted [] [src]

pub trait Formatted {
    type Surface: SurfaceTyped;
    type Channel: ChannelTyped;
    type View;
    fn get_format() -> Format { ... }
}

Compile-time full format trait.

Associated Types

Associated surface type.

Associated channel type.

Shader view type of this format.

Provided Methods

Return the run-time value of the type.

Implementors