Type Definition gfx_core::format::Vec1 [−][src]
type Vec1<T> = T;
Abstracted 1-element container for macro internal use
Trait Implementations
impl Formatted for Vec1<u8>[src]
impl Formatted for Vec1<u8>type Surface = R8
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<i8>[src]
impl Formatted for Vec1<i8>type Surface = R8
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec1<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<U8Norm>[src]
impl Formatted for Vec1<U8Norm>type Surface = R8
Associated surface type.
type Channel = Unorm
Associated channel type.
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<I8Norm>[src]
impl Formatted for Vec1<I8Norm>type Surface = R8
Associated surface type.
type Channel = Inorm
Associated channel type.
type View = Vec1<<Inorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<u16>[src]
impl Formatted for Vec1<u16>type Surface = R16
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<i16>[src]
impl Formatted for Vec1<i16>type Surface = R16
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec1<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<U16Norm>[src]
impl Formatted for Vec1<U16Norm>type Surface = R16
Associated surface type.
type Channel = Unorm
Associated channel type.
type View = Vec1<<Unorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<I16Norm>[src]
impl Formatted for Vec1<I16Norm>type Surface = R16
Associated surface type.
type Channel = Inorm
Associated channel type.
type View = Vec1<<Inorm as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<F16>[src]
impl Formatted for Vec1<F16>type Surface = R16
Associated surface type.
type Channel = Float
Associated channel type.
type View = Vec1<<Float as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<u32>[src]
impl Formatted for Vec1<u32>type Surface = R32
Associated surface type.
type Channel = Uint
Associated channel type.
type View = Vec1<<Uint as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<i32>[src]
impl Formatted for Vec1<i32>type Surface = R32
Associated surface type.
type Channel = Int
Associated channel type.
type View = Vec1<<Int as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.
impl Formatted for Vec1<f32>[src]
impl Formatted for Vec1<f32>type Surface = R32
Associated surface type.
type Channel = Float
Associated channel type.
type View = Vec1<<Float as ChannelTyped>::ShaderType>
Shader view type of this format.
fn get_format() -> Format[src]
fn get_format() -> FormatReturn the run-time value of the type.