[][src]Struct lokacore::Align32

pub struct Align32<T>(pub T);

Wrap the inner value to a minimum alignment of 32.

This is for alignment shenanigans, you're not expected to use it in a struct, more just in function arguments and such.

Trait Implementations

impl<T: Debug> Debug for Align32<T>[src]

impl<T: Copy> Copy for Align32<T>[src]

impl<T: Clone> Clone for Align32<T>[src]

impl<T> Zeroable for Align32<T> where
    T: Zeroable
[src]

impl Pod for Align32<[u8; 32]>[src]

impl Pod for Align32<[i8; 32]>[src]

impl Pod for Align32<[u16; 16]>[src]

impl Pod for Align32<[i16; 16]>[src]

impl Pod for Align32<[u32; 8]>[src]

impl Pod for Align32<[i32; 8]>[src]

impl Pod for Align32<[f32; 8]>[src]

impl Pod for Align32<[u64; 4]>[src]

impl Pod for Align32<[i64; 4]>[src]

impl Pod for Align32<[f64; 4]>[src]

impl Pod for Align32<[u128; 2]>[src]

impl Pod for Align32<[i128; 2]>[src]

impl Pod for Align32<[usize; 8]>[src]

Auto Trait Implementations

impl<T> Unpin for Align32<T> where
    T: Unpin

impl<T> Send for Align32<T> where
    T: Send

impl<T> Sync for Align32<T> where
    T: Sync

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]