Enum rin::events::Either [−][src]
pub enum Either<T1, T2> {
Left(T1),
Right(T2),
Both(T1, T2),
None,
}Variants
Auto Trait Implementations
impl<T1, T2> RefUnwindSafe for Either<T1, T2> where
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
impl<T1, T2> Send for Either<T1, T2> where
T1: Send,
T2: Send,
T1: Send,
T2: Send,
impl<T1, T2> Sync for Either<T1, T2> where
T1: Sync,
T2: Sync,
T1: Sync,
T2: Sync,
impl<T1, T2> Unpin for Either<T1, T2> where
T1: Unpin,
T2: Unpin,
T1: Unpin,
T2: Unpin,
impl<T1, T2> UnwindSafe for Either<T1, T2> where
T1: UnwindSafe,
T2: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]
impl<T> DowncastSync for T where
T: Any + Send + Sync, [src]impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]pub fn to_subset(&self) -> Option<SS>[src]
pub fn is_in_subset(&self) -> bool[src]
pub fn to_subset_unchecked(&self) -> SS[src]
pub fn from_subset(element: &SS) -> SP[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>, [src]