pub enum Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> {
Show 25 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), O(O), P(P), Q(Q), R(R), S(S), T(T), U(U), V(V), W(W), X(X), Y(Y),
}

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)

§

O(O)

§

P(P)

§

Q(Q)

§

R(R)

§

S(S)

§

T(T)

§

U(U)

§

V(V)

§

W(W)

§

X(X)

§

Y(Y)

Implementations§

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: NapiRaw,
    P: NapiRaw,
    Q: NapiRaw,
    R: NapiRaw,
    S: NapiRaw,
    T: NapiRaw,
    U: NapiRaw,
    V: NapiRaw,
    W: NapiRaw,
    X: NapiRaw,
    Y: NapiRaw,

source

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>, O: AsRef<Data>, P: AsRef<Data>, Q: AsRef<Data>, R: AsRef<Data>, S: AsRef<Data>, T: AsRef<Data>, U: AsRef<Data>, V: AsRef<Data>, W: AsRef<Data>, X: AsRef<Data>, Y: AsRef<Data>> AsRef<Data> for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>where
    Data: ?Sized,

source§

fn as_ref(&self) -> &Data

Converts this type into a shared reference of the (usually inferred) input type.
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, O: Clone, P: Clone, Q: Clone, R: Clone, S: Clone, T: Clone, U: Clone, V: Clone, W: Clone, X: Clone, Y: Clone> Clone for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>

source§

fn clone(
    &self
) -> Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
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, O: Debug, P: Debug, Q: Debug, R: Debug, S: Debug, T: Debug, U: Debug, V: Debug, W: Debug, X: Debug, Y: Debug> Debug for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> FromNapiValue for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: TypeName + FromNapiValue + ValidateNapiValue,
    P: TypeName + FromNapiValue + ValidateNapiValue,
    Q: TypeName + FromNapiValue + ValidateNapiValue,
    R: TypeName + FromNapiValue + ValidateNapiValue,
    S: TypeName + FromNapiValue + ValidateNapiValue,
    T: TypeName + FromNapiValue + ValidateNapiValue,
    U: TypeName + FromNapiValue + ValidateNapiValue,
    V: TypeName + FromNapiValue + ValidateNapiValue,
    W: TypeName + FromNapiValue + ValidateNapiValue,
    X: TypeName + FromNapiValue + ValidateNapiValue,
    Y: TypeName + FromNapiValue + ValidateNapiValue,

source§

unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>

Safety Read more
source§

fn from_unknown(value: JsUnknown) -> Result<Self>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> ToNapiValue for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: ToNapiValue,
    P: ToNapiValue,
    Q: ToNapiValue,
    R: ToNapiValue,
    S: ToNapiValue,
    T: ToNapiValue,
    U: ToNapiValue,
    V: ToNapiValue,
    W: ToNapiValue,
    X: ToNapiValue,
    Y: ToNapiValue,

source§

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, O, P, Q, R, S, T, U, V, W, X, Y> TypeName for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: TypeName,
    P: TypeName,
    Q: TypeName,
    R: TypeName,
    S: TypeName,
    T: TypeName,
    U: TypeName,
    V: TypeName,
    W: TypeName,
    X: TypeName,
    Y: TypeName,

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> ValidateNapiValue for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: ValidateNapiValue,
    P: ValidateNapiValue,
    Q: ValidateNapiValue,
    R: ValidateNapiValue,
    S: ValidateNapiValue,
    T: ValidateNapiValue,
    U: ValidateNapiValue,
    V: ValidateNapiValue,
    W: ValidateNapiValue,
    X: ValidateNapiValue,
    Y: ValidateNapiValue,

source§

unsafe fn validate(env: napi_env, napi_val: napi_value) -> Result<napi_value>

Safety Read more
source§

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, O: Copy, P: Copy, Q: Copy, R: Copy, S: Copy, T: Copy, U: Copy, V: Copy, W: Copy, X: Copy, Y: Copy> Copy for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>

Auto Trait Implementations§

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> RefUnwindSafe for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: RefUnwindSafe,
    P: RefUnwindSafe,
    Q: RefUnwindSafe,
    R: RefUnwindSafe,
    S: RefUnwindSafe,
    T: RefUnwindSafe,
    U: RefUnwindSafe,
    V: RefUnwindSafe,
    W: RefUnwindSafe,
    X: RefUnwindSafe,
    Y: RefUnwindSafe,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> Send for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: Send,
    P: Send,
    Q: Send,
    R: Send,
    S: Send,
    T: Send,
    U: Send,
    V: Send,
    W: Send,
    X: Send,
    Y: Send,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> Sync for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: Sync,
    P: Sync,
    Q: Sync,
    R: Sync,
    S: Sync,
    T: Sync,
    U: Sync,
    V: Sync,
    W: Sync,
    X: Sync,
    Y: Sync,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> Unpin for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: Unpin,
    P: Unpin,
    Q: Unpin,
    R: Unpin,
    S: Unpin,
    T: Unpin,
    U: Unpin,
    V: Unpin,
    W: Unpin,
    X: Unpin,
    Y: Unpin,

§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y> UnwindSafe for Either25<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y>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,
    O: UnwindSafe,
    P: UnwindSafe,
    Q: UnwindSafe,
    R: UnwindSafe,
    S: UnwindSafe,
    T: UnwindSafe,
    U: UnwindSafe,
    V: UnwindSafe,
    W: UnwindSafe,
    X: UnwindSafe,
    Y: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere
    T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
    T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
    U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere
    T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere
    U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
    U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.