[][src]Struct lokacore::Align16

pub struct Align16<T>(pub T);

Wrap the inner value to a minimum alignment of 16.

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> Zeroable for Align16<T> where
    T: Zeroable
[src]

fn zeroed() -> Self[src]

Calls zeroed. Read more

impl Pod for Align16<[u8; 16]>[src]

impl Pod for Align16<[i8; 16]>[src]

impl Pod for Align16<[u16; 8]>[src]

impl Pod for Align16<[i16; 8]>[src]

impl Pod for Align16<[u32; 4]>[src]

impl Pod for Align16<[i32; 4]>[src]

impl Pod for Align16<[f32; 4]>[src]

impl Pod for Align16<[u64; 2]>[src]

impl Pod for Align16<[i64; 2]>[src]

impl Pod for Align16<[f64; 2]>[src]

impl Pod for Align16<u128>[src]

impl Pod for Align16<i128>[src]

impl Pod for Align16<[usize; 2]>[src]

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

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

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

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

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

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

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

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]