pub struct EitherB<A, B>(pub PhantomData<A>, pub B);Tuple Fields§
§0: PhantomData<A>§1: BTrait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for EitherB<A, B>where
B: Freeze,
impl<A, B> RefUnwindSafe for EitherB<A, B>where
B: RefUnwindSafe,
A: RefUnwindSafe,
impl<A, B> Send for EitherB<A, B>
impl<A, B> Sync for EitherB<A, B>
impl<A, B> Unpin for EitherB<A, B>
impl<A, B> UnwindSafe for EitherB<A, B>where
B: UnwindSafe,
A: 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