[][src]Trait elysees::UnionAlign

pub unsafe trait UnionAlign: Sized + ErasablePtr {
    fn left<B: UnionAlign>(this: Self) -> Union2<Self, B> { ... }
fn right<A: UnionAlign>(this: Self) -> Union2<A, Self> { ... }
fn a<B: UnionAlign, C: UnionAlign, D: UnionAlign>(
        this: Self
    ) -> Union4<Self, B, C, D> { ... }
fn b<A: UnionAlign, C: UnionAlign, D: UnionAlign>(
        this: Self
    ) -> Union4<A, Self, C, D> { ... }
fn c<A: UnionAlign, B: UnionAlign, D: UnionAlign>(
        this: Self
    ) -> Union4<A, B, Self, D> { ... }
fn d<A: UnionAlign, B: UnionAlign, C: UnionAlign>(
        this: Self
    ) -> Union4<A, B, C, Self> { ... } }

A value which can be made into any pointer union

Provided methods

fn left<B: UnionAlign>(this: Self) -> Union2<Self, B>

fn right<A: UnionAlign>(this: Self) -> Union2<A, Self>

fn a<B: UnionAlign, C: UnionAlign, D: UnionAlign>(
    this: Self
) -> Union4<Self, B, C, D>

fn b<A: UnionAlign, C: UnionAlign, D: UnionAlign>(
    this: Self
) -> Union4<A, Self, C, D>

fn c<A: UnionAlign, B: UnionAlign, D: UnionAlign>(
    this: Self
) -> Union4<A, B, Self, D>

fn d<A: UnionAlign, B: UnionAlign, C: UnionAlign>(
    this: Self
) -> Union4<A, B, C, Self>

Loading content...

Implementations on Foreign Types

impl<T: ?Sized> UnionAlign for Thin<Arc<T>> where
    Thin<Arc<T>>: ErasablePtr,
    Arc<T>: ErasablePtr
[src]

Loading content...

Implementors

impl<'a, T: ?Sized> UnionAlign for ArcBorrow<'a, T> where
    ArcBorrow<'a, T>: ErasablePtr
[src]

impl<T: ?Sized> UnionAlign for Arc<T> where
    Arc<T>: ErasablePtr
[src]

impl<T: ?Sized> UnionAlign for ArcBox<T> where
    ArcBox<T>: ErasablePtr
[src]

Loading content...