pub struct Builder4<A, B, C, D = NeverPtr> { /* private fields */ }
Expand description
A builder for Union4
.
An instance of this builder means that Union4
parameterized
with the same type arguments are safe to construct.
Implementations
sourceimpl<A, B, C, D> Builder4<A, B, C, D>
impl<A, B, C, D> Builder4<A, B, C, D>
sourcepub const unsafe fn new_unchecked() -> Self
pub const unsafe fn new_unchecked() -> Self
sourceimpl<A: ErasablePtr, B: ErasablePtr, C: ErasablePtr, D: ErasablePtr> Builder4<A, B, C, D>
impl<A: ErasablePtr, B: ErasablePtr, C: ErasablePtr, D: ErasablePtr> Builder4<A, B, C, D>
Trait Implementations
impl<A, B, C, D> Copy for Builder4<A, B, C, D>
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for Builder4<A, B, C, D> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> Send for Builder4<A, B, C, D> where
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,
impl<A, B, C, D> Unpin for Builder4<A, B, C, D> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
impl<A, B, C, D> UnwindSafe for Builder4<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Erasable for T
impl<T> Erasable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more