Enum napi_h::bindgen_prelude::Either8
source · pub enum Either8<A, B, C, D, E, F, G, H> {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
H(H),
}
Variants§
Implementations§
Trait Implementations§
source§impl<Data, A: AsRef<Data>, B: AsRef<Data>, C: AsRef<Data>, D: AsRef<Data>, E: AsRef<Data>, F: AsRef<Data>, G: AsRef<Data>, H: AsRef<Data>> AsRef<Data> for Either8<A, B, C, D, E, F, G, H>where
Data: ?Sized,
impl<Data, A: AsRef<Data>, B: AsRef<Data>, C: AsRef<Data>, D: AsRef<Data>, E: AsRef<Data>, F: AsRef<Data>, G: AsRef<Data>, H: AsRef<Data>> AsRef<Data> for Either8<A, B, C, D, E, F, G, H>where
Data: ?Sized,
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone> Clone for Either8<A, B, C, D, E, F, G, H>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone> Clone for Either8<A, B, C, D, E, F, G, H>
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug> Debug for Either8<A, B, C, D, E, F, G, H>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug> Debug for Either8<A, B, C, D, E, F, G, H>
source§impl<A, B, C, D, E, F, G, H> FromNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: TypeName + FromNapiValue + ValidateNapiValue,
B: TypeName + FromNapiValue + ValidateNapiValue,
C: TypeName + FromNapiValue + ValidateNapiValue,
D: TypeName + FromNapiValue + ValidateNapiValue,
E: TypeName + FromNapiValue + ValidateNapiValue,
F: TypeName + FromNapiValue + ValidateNapiValue,
G: TypeName + FromNapiValue + ValidateNapiValue,
H: TypeName + FromNapiValue + ValidateNapiValue,
impl<A, B, C, D, E, F, G, H> FromNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: TypeName + FromNapiValue + ValidateNapiValue,
B: TypeName + FromNapiValue + ValidateNapiValue,
C: TypeName + FromNapiValue + ValidateNapiValue,
D: TypeName + FromNapiValue + ValidateNapiValue,
E: TypeName + FromNapiValue + ValidateNapiValue,
F: TypeName + FromNapiValue + ValidateNapiValue,
G: TypeName + FromNapiValue + ValidateNapiValue,
H: TypeName + FromNapiValue + ValidateNapiValue,
source§unsafe 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>
source§impl<A, B, C, D, E, F, G, H> ToNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: ToNapiValue,
B: ToNapiValue,
C: ToNapiValue,
D: ToNapiValue,
E: ToNapiValue,
F: ToNapiValue,
G: ToNapiValue,
H: ToNapiValue,
impl<A, B, C, D, E, F, G, H> ToNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: ToNapiValue,
B: ToNapiValue,
C: ToNapiValue,
D: ToNapiValue,
E: ToNapiValue,
F: ToNapiValue,
G: ToNapiValue,
H: ToNapiValue,
source§unsafe 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
source§impl<A, B, C, D, E, F, G, H> ValidateNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: ValidateNapiValue,
B: ValidateNapiValue,
C: ValidateNapiValue,
D: ValidateNapiValue,
E: ValidateNapiValue,
F: ValidateNapiValue,
G: ValidateNapiValue,
H: ValidateNapiValue,
impl<A, B, C, D, E, F, G, H> ValidateNapiValue for Either8<A, B, C, D, E, F, G, H>where
A: ValidateNapiValue,
B: ValidateNapiValue,
C: ValidateNapiValue,
D: ValidateNapiValue,
E: ValidateNapiValue,
F: ValidateNapiValue,
G: ValidateNapiValue,
H: ValidateNapiValue,
source§unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>
Safety Read more
impl<A: Copy, B: Copy, C: Copy, D: Copy, E: Copy, F: Copy, G: Copy, H: Copy> Copy for Either8<A, B, C, D, E, F, G, H>
Auto Trait Implementations§
impl<A, B, C, D, E, F, G, H> Freeze for Either8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> RefUnwindSafe for Either8<A, B, C, D, E, F, G, H>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
H: RefUnwindSafe,
impl<A, B, C, D, E, F, G, H> Send for Either8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> Sync for Either8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> Unpin for Either8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> UnwindSafe for Either8<A, B, C, D, E, F, G, H>where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
H: 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