Enum napi::bindgen_prelude::Either [−][src]
pub enum Either<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> {
A(A),
B(B),
}
Variants
Trait Implementations
impl<A: Clone + TypeName + FromNapiValue + ToNapiValue, B: Clone + TypeName + FromNapiValue + ToNapiValue> Clone for Either<A, B>
impl<A: Clone + TypeName + FromNapiValue + ToNapiValue, B: Clone + TypeName + FromNapiValue + ToNapiValue> Clone for Either<A, B>
impl<A: Debug + TypeName + FromNapiValue + ToNapiValue, B: Debug + TypeName + FromNapiValue + ToNapiValue> Debug for Either<A, B>
impl<A: Debug + TypeName + FromNapiValue + ToNapiValue, B: Debug + TypeName + FromNapiValue + ToNapiValue> Debug for Either<A, B>
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> FromNapiValue for Either<A, B>
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> FromNapiValue for Either<A, B>
Safety Read more
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> ToNapiValue for Either<A, B>
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> ToNapiValue for Either<A, B>
Safety Read more
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> TypeName for Either<A, B>
impl<A: TypeName + FromNapiValue + ToNapiValue, B: TypeName + FromNapiValue + ToNapiValue> TypeName for Either<A, B>
impl<A: Copy + TypeName + FromNapiValue + ToNapiValue, B: Copy + TypeName + FromNapiValue + ToNapiValue> Copy for Either<A, B>
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Either<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Either<A, B> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more