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.
Implementations on Foreign Types
impl<T> Formatted for [[T; 2]; 2] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [[T; 4]; 4] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [[T; 3]; 3] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [T; 2] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [T; 4] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [T; 3] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
impl<T> Formatted for [[T; 4]; 3] where
T: BaseTyped,
[src]
T: BaseTyped,
pub fn get_format() -> (BaseType, ContainerType)
[src]
Implementors
impl<T> Formatted for T where
T: BaseTyped,
[src]
T: BaseTyped,