pub enum Or<L, R> {
Left(L),
Right(R),
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<L, R> Freeze for Or<L, R>
impl<L, R> RefUnwindSafe for Or<L, R>where
L: RefUnwindSafe,
R: RefUnwindSafe,
impl<L, R> Send for Or<L, R>
impl<L, R> Sync for Or<L, R>
impl<L, R> Unpin for Or<L, R>
impl<L, R> UnwindSafe for Or<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