[][src]Trait gfx_hal::memory::Pod

pub unsafe trait Pod: Copy { }

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 Pod for isize[src]

impl Pod for usize[src]

impl Pod for i8[src]

impl Pod for u8[src]

impl Pod for i16[src]

impl Pod for u16[src]

impl Pod for i32[src]

impl Pod for u32[src]

impl Pod for i64[src]

impl Pod for u64[src]

impl Pod for f32[src]

impl Pod for f64[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading content...

Implementors

Loading content...