pub struct Builder2<A, B> { /* private fields */ }Expand description
A builder for Union2.
An instance of this builder means that Union2 parameterized
with the same type arguments are safe to construct.
Implementations§
Source§impl<A, B> Builder2<A, B>
impl<A, B> Builder2<A, B>
Sourcepub const unsafe fn new_unchecked() -> Self
pub const unsafe fn new_unchecked() -> Self
Trait Implementations§
impl<A, B> Copy for Builder2<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Builder2<A, B>
impl<A, B> RefUnwindSafe for Builder2<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Builder2<A, B>
impl<A, B> Sync for Builder2<A, B>
impl<A, B> Unpin for Builder2<A, B>
impl<A, B> UnwindSafe for Builder2<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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