Trait gfx::shade::Formatted[][src]

pub trait Formatted {
    pub fn get_format() -> (BaseType, ContainerType);
}

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

Required methods

pub fn get_format() -> (BaseType, ContainerType)[src]

Get the associated constant format.

Loading content...

Implementations on Foreign Types

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

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

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

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

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

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

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

Loading content...

Implementors

impl<T> Formatted for T where
    T: BaseTyped
[src]

Loading content...