Trait gfx::format::Formatted []

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

Compile-time full format trait.

Associated Types

type Surface: SurfaceTyped

Associated surface type.

type Channel: ChannelTyped

Associated channel type.

type View

Shader view type of this format.

Provided Methods

fn get_format() -> Format

Return the run-time value of the type.

Implementors