Trait gfx::shade::Formatted

source ·
pub trait Formatted {
    // Required method
    fn get_format() -> (BaseType, ContainerType);
}
Expand description

A trait that statically links simple data types to constant formats.

Required Methods§

source

fn get_format() -> (BaseType, ContainerType)

Get the associated constant format.

Implementations on Foreign Types§

source§

impl<T> Formatted for [[T; 3]; 3]where T: BaseTyped,

source§

impl<T> Formatted for [[T; 4]; 3]where T: BaseTyped,

source§

impl<T> Formatted for [T; 3]where T: BaseTyped,

source§

impl<T> Formatted for [[T; 4]; 4]where T: BaseTyped,

source§

impl<T> Formatted for [[T; 2]; 2]where T: BaseTyped,

source§

impl<T> Formatted for [T; 2]where T: BaseTyped,

source§

impl<T> Formatted for [T; 4]where T: BaseTyped,

Implementors§

source§

impl<T> Formatted for Twhere T: BaseTyped,