Trait gfx_core::shade::Formatted
[−]
[src]
pub trait Formatted { fn get_format() -> ConstFormat; }
A trait that statically links simple data types to constant formats.
Required Methods
fn get_format() -> ConstFormat
Get the associated constant format.
Implementors
impl<T: BaseTyped> Formatted for T
impl<T: BaseTyped> Formatted for [T; 2]
impl<T: BaseTyped> Formatted for [T; 3]
impl<T: BaseTyped> Formatted for [T; 4]
impl<T: BaseTyped> Formatted for [[T; 2]; 2]
impl<T: BaseTyped> Formatted for [[T; 3]; 3]
impl<T: BaseTyped> Formatted for [[T; 4]; 4]
impl<T: BaseTyped> Formatted for [[T; 4]; 3]