[−][src]Struct ptr_union::Builder4
A builder for Union4
.
An instance of this builder means that Union4
parameterized
with the same type arguments are safe to construct.
Methods
impl<A, B, C, D> Builder4<A, B, C, D>
[src]
pub const unsafe fn new_unchecked() -> Self
[src]
impl<A: ErasablePtr, B: ErasablePtr, C: ErasablePtr, D: ErasablePtr> Builder4<A, B, C, D>
[src]
pub fn a(self, this: A) -> Union4<A, B, C, D>
[src]
Construct a union at this variant.
pub fn b(self, this: B) -> Union4<A, B, C, D>
[src]
Construct a union at this variant.
pub fn c(self, this: C) -> Union4<A, B, C, D>
[src]
Construct a union at this variant.
pub fn d(self, this: D) -> Union4<A, B, C, D>
[src]
Construct a union at this variant.
Trait Implementations
impl<A, B, C, D> Clone for Builder4<A, B, C, D>
[src]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<A, B, C, D> Copy for Builder4<A, B, C, D>
[src]
impl<A, B, C, D> Debug for Builder4<A, B, C, D>
[src]
Auto Trait Implementations
impl<A, B, C, D> Send for Builder4<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 Builder4<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 Builder4<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>,