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