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