[−][src]Enum ptr_union::Enum4
An unpacked version of Union4
.
Variants
Implementations
impl<A: ErasablePtr, B: ErasablePtr, C: ErasablePtr, D: ErasablePtr> Enum4<A, B, C, D>
[src]
pub fn pack(self, builder: Builder4<A, B, C, D>) -> Union4<A, B, C, D>
[src]
Pack this loose enum into a pointer union.
pub unsafe fn pack_unchecked(self) -> Union4<A, B, C, D>
[src]
Pack this loose enum into a pointer union.
Safety
The pointer packed must be properly aligned. Note that only the actually packed pointer is restricted, not any other pointer type involved in this definition.
Trait Implementations
impl<A: Clone, B: Clone, C: Clone, D: Clone> Clone for Enum4<A, B, C, D>
[src]
fn clone(&self) -> Enum4<A, B, C, D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A: Copy, B: Copy, C: Copy, D: Copy> Copy for Enum4<A, B, C, D>
[src]
impl<A: Debug, B: Debug, C: Debug, D: Debug> Debug for Enum4<A, B, C, D>
[src]
impl<A: Eq, B: Eq, C: Eq, D: Eq> Eq for Enum4<A, B, C, D>
[src]
impl<A: Hash, B: Hash, C: Hash, D: Hash> Hash for Enum4<A, B, C, D>
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq> PartialEq<Enum4<A, B, C, D>> for Enum4<A, B, C, D>
[src]
fn eq(&self, other: &Enum4<A, B, C, D>) -> bool
[src]
fn ne(&self, other: &Enum4<A, B, C, D>) -> bool
[src]
impl<A, B, C, D> StructuralEq for Enum4<A, B, C, D>
[src]
impl<A, B, C, D> StructuralPartialEq for Enum4<A, B, C, D>
[src]
Auto Trait Implementations
impl<A, B, C, D> Send for Enum4<A, B, C, D> where
A: Send,
B: Send,
C: Send,
D: Send,
A: Send,
B: Send,
C: Send,
D: Send,
impl<A, B, C, D> Sync for Enum4<A, B, C, D> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
A: Sync,
B: Sync,
C: Sync,
D: Sync,
impl<A, B, C, D> Unpin for Enum4<A, B, C, D> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Erasable for T
[src]
unsafe fn unerase(this: NonNull<Erased>) -> NonNull<T>
[src]
const ACK_1_1_0: bool
[src]
fn erase(this: NonNull<Self>) -> NonNull<Erased>
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,