pub enum OR<L, R> {
L(L),
R(R),
}Variants§
Trait Implementations§
source§impl<L: PartialEq, R: PartialEq> PartialEq for OR<L, R>
impl<L: PartialEq, R: PartialEq> PartialEq for OR<L, R>
impl<L: Copy, R: Copy> Copy for OR<L, R>
impl<L, R> StructuralPartialEq for OR<L, R>
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