Enum napi::bindgen_prelude::Either6
source · pub enum Either6<A, B, C, D, E, F> {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
}
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>> AsRef<Data> for Either6<A, B, C, D, E, F>where
Data: ?Sized,
impl<Data, A: AsRef<Data>, B: AsRef<Data>, C: AsRef<Data>, D: AsRef<Data>, E: AsRef<Data>, F: AsRef<Data>> AsRef<Data> for Either6<A, B, C, D, E, F>where Data: ?Sized,
source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for Either6<A, B, C, D, E, F>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for Either6<A, B, C, D, E, F>
source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for Either6<A, B, C, D, E, F>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for Either6<A, B, C, D, E, F>
source§impl<A, B, C, D, E, F> FromNapiValue for Either6<A, B, C, D, E, F>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,
impl<A, B, C, D, E, F> FromNapiValue for Either6<A, B, C, D, E, F>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,
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> ToNapiValue for Either6<A, B, C, D, E, F>where
A: ToNapiValue,
B: ToNapiValue,
C: ToNapiValue,
D: ToNapiValue,
E: ToNapiValue,
F: ToNapiValue,
impl<A, B, C, D, E, F> ToNapiValue for Either6<A, B, C, D, E, F>where A: ToNapiValue, B: ToNapiValue, C: ToNapiValue, D: ToNapiValue, E: ToNapiValue, F: 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> TypeName for Either6<A, B, C, D, E, F>where
A: TypeName,
B: TypeName,
C: TypeName,
D: TypeName,
E: TypeName,
F: TypeName,
impl<A, B, C, D, E, F> TypeName for Either6<A, B, C, D, E, F>where A: TypeName, B: TypeName, C: TypeName, D: TypeName, E: TypeName, F: TypeName,
source§impl<A, B, C, D, E, F> ValidateNapiValue for Either6<A, B, C, D, E, F>where
A: ValidateNapiValue,
B: ValidateNapiValue,
C: ValidateNapiValue,
D: ValidateNapiValue,
E: ValidateNapiValue,
F: ValidateNapiValue,
impl<A, B, C, D, E, F> ValidateNapiValue for Either6<A, B, C, D, E, F>where A: ValidateNapiValue, B: ValidateNapiValue, C: ValidateNapiValue, D: ValidateNapiValue, E: ValidateNapiValue, F: 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