Enum napi::bindgen_prelude::Either13
source · pub enum Either13<A, B, C, D, E, F, G, H, I, J, K, L, M> {
Show 13 variants
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
G(G),
H(H),
I(I),
J(J),
K(K),
L(L),
M(M),
}
Variants§
Implementations§
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: NapiRaw,
B: NapiRaw,
C: NapiRaw,
D: NapiRaw,
E: NapiRaw,
F: NapiRaw,
G: NapiRaw,
H: NapiRaw,
I: NapiRaw,
J: NapiRaw,
K: NapiRaw,
L: NapiRaw,
M: NapiRaw,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: NapiRaw,
B: NapiRaw,
C: NapiRaw,
D: NapiRaw,
E: NapiRaw,
F: NapiRaw,
G: NapiRaw,
H: NapiRaw,
I: NapiRaw,
J: NapiRaw,
K: NapiRaw,
L: NapiRaw,
M: NapiRaw,
pub fn as_unknown(&self, env: Env) -> Unknown
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>, I: AsRef<Data>, J: AsRef<Data>, K: AsRef<Data>, L: AsRef<Data>, M: AsRef<Data>> AsRef<Data> for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>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>, I: AsRef<Data>, J: AsRef<Data>, K: AsRef<Data>, L: AsRef<Data>, M: AsRef<Data>> AsRef<Data> for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
Data: ?Sized,
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone> Clone for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone, I: Clone, J: Clone, K: Clone, L: Clone, M: Clone> Clone for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug> Debug for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug, H: Debug, I: Debug, J: Debug, K: Debug, L: Debug, M: Debug> Debug for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> FromNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>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,
I: TypeName + FromNapiValue + ValidateNapiValue,
J: TypeName + FromNapiValue + ValidateNapiValue,
K: TypeName + FromNapiValue + ValidateNapiValue,
L: TypeName + FromNapiValue + ValidateNapiValue,
M: TypeName + FromNapiValue + ValidateNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> FromNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>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,
I: TypeName + FromNapiValue + ValidateNapiValue,
J: TypeName + FromNapiValue + ValidateNapiValue,
K: TypeName + FromNapiValue + ValidateNapiValue,
L: TypeName + FromNapiValue + ValidateNapiValue,
M: 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, I, J, K, L, M> ToNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: ToNapiValue,
B: ToNapiValue,
C: ToNapiValue,
D: ToNapiValue,
E: ToNapiValue,
F: ToNapiValue,
G: ToNapiValue,
H: ToNapiValue,
I: ToNapiValue,
J: ToNapiValue,
K: ToNapiValue,
L: ToNapiValue,
M: ToNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> ToNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: ToNapiValue,
B: ToNapiValue,
C: ToNapiValue,
D: ToNapiValue,
E: ToNapiValue,
F: ToNapiValue,
G: ToNapiValue,
H: ToNapiValue,
I: ToNapiValue,
J: ToNapiValue,
K: ToNapiValue,
L: ToNapiValue,
M: 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, I, J, K, L, M> TypeName for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: TypeName,
B: TypeName,
C: TypeName,
D: TypeName,
E: TypeName,
F: TypeName,
G: TypeName,
H: TypeName,
I: TypeName,
J: TypeName,
K: TypeName,
L: TypeName,
M: TypeName,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> TypeName for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: TypeName,
B: TypeName,
C: TypeName,
D: TypeName,
E: TypeName,
F: TypeName,
G: TypeName,
H: TypeName,
I: TypeName,
J: TypeName,
K: TypeName,
L: TypeName,
M: TypeName,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M> ValidateNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: ValidateNapiValue,
B: ValidateNapiValue,
C: ValidateNapiValue,
D: ValidateNapiValue,
E: ValidateNapiValue,
F: ValidateNapiValue,
G: ValidateNapiValue,
H: ValidateNapiValue,
I: ValidateNapiValue,
J: ValidateNapiValue,
K: ValidateNapiValue,
L: ValidateNapiValue,
M: ValidateNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M> ValidateNapiValue for Either13<A, B, C, D, E, F, G, H, I, J, K, L, M>where
A: ValidateNapiValue,
B: ValidateNapiValue,
C: ValidateNapiValue,
D: ValidateNapiValue,
E: ValidateNapiValue,
F: ValidateNapiValue,
G: ValidateNapiValue,
H: ValidateNapiValue,
I: ValidateNapiValue,
J: ValidateNapiValue,
K: ValidateNapiValue,
L: ValidateNapiValue,
M: 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