Union slot::Slot[][src]

pub union Slot<T> {
    pub x: T,
}

Fields

Methods

impl<T> Slot<T>
[src]

Trait Implementations

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

impl<T> Clone for Slot<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T> Default for Slot<T>
[src]

Returns the "default value" for a type. Read more

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

Performs the conversion.

Auto Trait Implementations

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

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