Trait pod::Pod
[−]
[src]
pub trait Pod: Sized { }
A marker trait indicating that a type is Plain Old Data.
impl
this on POD structs to access the slice helper methods of PodExt
and I/O helpers Encode
and Decode
.
#[repr(packed)]
and #[repr(C)]
may be helpful for consistent representation across
platforms.
Implementors
impl Pod for ()
impl Pod for f32
impl Pod for f64
impl Pod for i8
impl Pod for u8
impl Pod for i16
impl Pod for u16
impl Pod for i32
impl Pod for u32
impl Pod for i64
impl Pod for u64
impl Pod for isize
impl Pod for usize
impl<T> Pod for *const T
impl<T> Pod for *mut T
impl<A: Pod> Pod for (A,)
impl<A: Pod, B: Pod> Pod for (A, B)
impl<A: Pod, B: Pod, C: Pod> Pod for (A, B, C)
impl<A: Pod, B: Pod, C: Pod, D: Pod> Pod for (A, B, C, D)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod> Pod for (A, B, C, D, E)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod> Pod for (A, B, C, D, E, F)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod> Pod for (A, B, C, D, E, F, G)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod, H: Pod> Pod for (A, B, C, D, E, F, G, H)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod, H: Pod, I: Pod> Pod for (A, B, C, D, E, F, G, H, I)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod, H: Pod, I: Pod, J: Pod> Pod for (A, B, C, D, E, F, G, H, I, J)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod, H: Pod, I: Pod, J: Pod, K: Pod> Pod for (A, B, C, D, E, F, G, H, I, J, K)
impl<A: Pod, B: Pod, C: Pod, D: Pod, E: Pod, F: Pod, G: Pod, H: Pod, I: Pod, J: Pod, K: Pod, L: Pod> Pod for (A, B, C, D, E, F, G, H, I, J, K, L)
impl<T: Pod> Pod for [T; 0]
impl<T: Pod> Pod for [T; 1]
impl<T: Pod> Pod for [T; 2]
impl<T: Pod> Pod for [T; 3]
impl<T: Pod> Pod for [T; 4]
impl<T: Pod> Pod for [T; 5]
impl<T: Pod> Pod for [T; 6]
impl<T: Pod> Pod for [T; 7]
impl<T: Pod> Pod for [T; 8]
impl<T: Pod> Pod for [T; 9]
impl<T: Pod> Pod for [T; 10]
impl<T: Pod> Pod for [T; 11]
impl<T: Pod> Pod for [T; 12]
impl<T: Pod> Pod for [T; 13]
impl<T: Pod> Pod for [T; 14]
impl<T: Pod> Pod for [T; 15]
impl<T: Pod> Pod for [T; 16]
impl<T: Pod> Pod for [T; 17]
impl<T: Pod> Pod for [T; 18]
impl<T: Pod> Pod for [T; 19]
impl<T: Pod> Pod for [T; 20]
impl<T: Pod> Pod for [T; 21]
impl<T: Pod> Pod for [T; 22]
impl<T: Pod> Pod for [T; 23]
impl<T: Pod> Pod for [T; 24]
impl<T: Pod> Pod for [T; 25]
impl<T: Pod> Pod for [T; 26]
impl<T: Pod> Pod for [T; 27]
impl<T: Pod> Pod for [T; 28]
impl<T: Pod> Pod for [T; 29]
impl<T: Pod> Pod for [T; 30]
impl<T: Pod> Pod for [T; 31]
impl<T: Pod> Pod for [T; 32]
impl<B, T: Pod> Pod for EndianPrimitive<B, T>