Enum napi::bindgen_prelude::Either5
source · [−]pub enum Either5<A, B, C, D, E> {
A(A),
B(B),
C(C),
D(D),
E(E),
}
Variants
A(A)
B(B)
C(C)
D(D)
E(E)
Trait Implementations
sourceimpl<A: TypeName + FromNapiValue, B: TypeName + FromNapiValue, C: TypeName + FromNapiValue, D: TypeName + FromNapiValue, E: TypeName + FromNapiValue> FromNapiValue for Either5<A, B, C, D, E>
impl<A: TypeName + FromNapiValue, B: TypeName + FromNapiValue, C: TypeName + FromNapiValue, D: TypeName + FromNapiValue, E: TypeName + FromNapiValue> FromNapiValue for Either5<A, B, C, D, E>
sourceunsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self>
sourceimpl<A: ToNapiValue, B: ToNapiValue, C: ToNapiValue, D: ToNapiValue, E: ToNapiValue> ToNapiValue for Either5<A, B, C, D, E>
impl<A: ToNapiValue, B: ToNapiValue, C: ToNapiValue, D: ToNapiValue, E: ToNapiValue> ToNapiValue for Either5<A, B, C, D, E>
sourceunsafe fn to_napi_value(env: napi_env, value: Self) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, value: Self) -> Result<napi_value>
Safety Read more
sourceimpl<A: TypeName, B: TypeName, C: TypeName, D: TypeName, E: TypeName> TypeName for Either5<A, B, C, D, E>
impl<A: TypeName, B: TypeName, C: TypeName, D: TypeName, E: TypeName> TypeName for Either5<A, B, C, D, E>
impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy> Copy for Either5<A, B, C, D, E>
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for Either5<A, B, C, D, E> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for Either5<A, B, C, D, E> where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for Either5<A, B, C, D, E> where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for Either5<A, B, C, D, E> where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for Either5<A, B, C, D, E> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more