Union show_notes::e031::unions::EitherValue
source · pub union EitherValue<L: Copy, R: Copy> {
left: L,
right: R,
}
Expand description
A union, to be used as the inner value for Either
.
Fields§
§left: L
§right: R
Auto Trait Implementations§
impl<L, R> Freeze for EitherValue<L, R>
impl<L, R> RefUnwindSafe for EitherValue<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for EitherValue<L, R>
impl<L, R> Sync for EitherValue<L, R>
impl<L, R> Unpin for EitherValue<L, R>
impl<L, R> UnwindSafe for EitherValue<L, R>where
L: UnwindSafe,
R: 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