Trait gfx::memory::Pod[][src]

pub unsafe trait Pod { }

A trait for plain-old-data types.

A POD type does not have invalid bit patterns and can be safely created from arbitrary bit pattern. The Pod trait is implemented for standard integer and floating point numbers as well as common arrays of them (for example [f32; 2]).

Implementations on Foreign Types

impl<T> Pod for [T; 28] where
    T: Pod
[src]

impl<T> Pod for [T; 13] where
    T: Pod
[src]

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

impl<T> Pod for [T; 9] where
    T: Pod
[src]

impl<T> Pod for [T; 10] where
    T: Pod
[src]

impl<T> Pod for [T; 30] where
    T: Pod
[src]

impl<T> Pod for [T; 31] where
    T: Pod
[src]

impl<T> Pod for [T; 24] where
    T: Pod
[src]

impl<T> Pod for [T; 14] where
    T: Pod
[src]

impl Pod for f32[src]

impl Pod for u32[src]

impl<T> Pod for [T; 15] where
    T: Pod
[src]

impl<T> Pod for [T; 7] where
    T: Pod
[src]

impl<T> Pod for [T; 17] where
    T: Pod
[src]

impl<T> Pod for [T; 22] where
    T: Pod
[src]

impl Pod for i8[src]

impl<T> Pod for [T; 20] where
    T: Pod
[src]

impl<T> Pod for [T; 8] where
    T: Pod
[src]

impl Pod for u16[src]

impl<T> Pod for [T; 0] where
    T: Pod
[src]

impl<T> Pod for [T; 6] where
    T: Pod
[src]

impl<T> Pod for [T; 16] where
    T: Pod
[src]

impl Pod for usize[src]

impl<T> Pod for [T; 1] where
    T: Pod
[src]

impl Pod for isize[src]

impl<T> Pod for [T; 27] where
    T: Pod
[src]

impl<T> Pod for [T; 19] where
    T: Pod
[src]

impl Pod for i32[src]

impl<T> Pod for [T; 32] where
    T: Pod
[src]

impl Pod for i16[src]

impl<T> Pod for [T; 5] where
    T: Pod
[src]

impl Pod for u8[src]

impl<T, U> Pod for (T, U) where
    T: Pod,
    U: Pod
[src]

impl Pod for f64[src]

impl<T> Pod for [T; 21] where
    T: Pod
[src]

impl<T> Pod for [T; 23] where
    T: Pod
[src]

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

impl<T> Pod for [T; 11] where
    T: Pod
[src]

impl<T> Pod for [T; 29] where
    T: Pod
[src]

impl Pod for i64[src]

impl<T> Pod for [T; 26] where
    T: Pod
[src]

impl<T> Pod for [T; 12] where
    T: Pod
[src]

impl<T> Pod for [T; 25] where
    T: Pod
[src]

impl<T> Pod for [T; 18] where
    T: Pod
[src]

impl Pod for u64[src]

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

Loading content...

Implementors

impl Pod for F16[src]

impl Pod for I8Norm[src]

impl Pod for I16Norm[src]

impl Pod for U8Norm[src]

impl Pod for U16Norm[src]

Loading content...