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§
Source§impl<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
Source§impl<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> Freeze for Builder4<A, B, C, D>
impl<A, B, C, D> RefUnwindSafe for Builder4<A, B, C, D>
impl<A, B, C, D> Send for Builder4<A, B, C, D>
impl<A, B, C, D> Sync for Builder4<A, B, C, D>
impl<A, B, C, D> Unpin for Builder4<A, B, C, D>
impl<A, B, C, D> UnwindSafe for Builder4<A, B, C, D>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more