Enum napi::bindgen_prelude::Either14
source · pub enum Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N> {
Show 14 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),
N(N),
}
Variants§
Implementations§
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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,
N: NapiRaw,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: 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>, N: AsRef<Data>> AsRef<Data> for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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>, N: AsRef<Data>> AsRef<Data> for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: Clone> Clone for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
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, N: Clone> Clone for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
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, N: Debug> Debug for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
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, N: Debug> Debug for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> FromNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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,
N: TypeName + FromNapiValue + ValidateNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> FromNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: 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, N> ToNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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,
N: ToNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> ToNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: 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, N> TypeName for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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,
N: TypeName,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> TypeName for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: TypeName,
source§impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> ValidateNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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,
N: ValidateNapiValue,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> ValidateNapiValue for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>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, N: 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, I: Copy, J: Copy, K: Copy, L: Copy, M: Copy, N: Copy> Copy for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>
Auto Trait Implementations§
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> RefUnwindSafe for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>where A: RefUnwindSafe, B: RefUnwindSafe, C: RefUnwindSafe, D: RefUnwindSafe, E: RefUnwindSafe, F: RefUnwindSafe, G: RefUnwindSafe, H: RefUnwindSafe, I: RefUnwindSafe, J: RefUnwindSafe, K: RefUnwindSafe, L: RefUnwindSafe, M: RefUnwindSafe, N: RefUnwindSafe,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Send for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>where A: Send, B: Send, C: Send, D: Send, E: Send, F: Send, G: Send, H: Send, I: Send, J: Send, K: Send, L: Send, M: Send, N: Send,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Sync for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>where A: Sync, B: Sync, C: Sync, D: Sync, E: Sync, F: Sync, G: Sync, H: Sync, I: Sync, J: Sync, K: Sync, L: Sync, M: Sync, N: Sync,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Unpin for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>where A: Unpin, B: Unpin, C: Unpin, D: Unpin, E: Unpin, F: Unpin, G: Unpin, H: Unpin, I: Unpin, J: Unpin, K: Unpin, L: Unpin, M: Unpin, N: Unpin,
impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> UnwindSafe for Either14<A, B, C, D, E, F, G, H, I, J, K, L, M, N>where A: UnwindSafe, B: UnwindSafe, C: UnwindSafe, D: UnwindSafe, E: UnwindSafe, F: UnwindSafe, G: UnwindSafe, H: UnwindSafe, I: UnwindSafe, J: UnwindSafe, K: UnwindSafe, L: UnwindSafe, M: UnwindSafe, N: 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