pub enum AnyOf8<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§
Source§impl<A, B, C, D, E, F, G, H> AnyOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> AnyOf8<A, B, C, D, E, F, G, H>
pub fn is_a(&self) -> bool
pub fn as_a(&self) -> Option<&A>
pub fn as_a_mut(&mut self) -> Option<&mut A>
pub fn into_a(self) -> Result<A, Self>
pub fn is_b(&self) -> bool
pub fn as_b(&self) -> Option<&B>
pub fn as_b_mut(&mut self) -> Option<&mut B>
pub fn into_b(self) -> Result<B, Self>
pub fn is_c(&self) -> bool
pub fn as_c(&self) -> Option<&C>
pub fn as_c_mut(&mut self) -> Option<&mut C>
pub fn into_c(self) -> Result<C, Self>
pub fn is_d(&self) -> bool
pub fn as_d(&self) -> Option<&D>
pub fn as_d_mut(&mut self) -> Option<&mut D>
pub fn into_d(self) -> Result<D, Self>
pub fn is_e(&self) -> bool
pub fn as_e(&self) -> Option<&E>
pub fn as_e_mut(&mut self) -> Option<&mut E>
pub fn into_e(self) -> Result<E, Self>
pub fn is_f(&self) -> bool
pub fn as_f(&self) -> Option<&F>
pub fn as_f_mut(&mut self) -> Option<&mut F>
pub fn into_f(self) -> Result<F, Self>
pub fn is_g(&self) -> bool
pub fn as_g(&self) -> Option<&G>
pub fn as_g_mut(&mut self) -> Option<&mut G>
pub fn into_g(self) -> Result<G, Self>
pub fn is_h(&self) -> bool
pub fn as_h(&self) -> Option<&H>
pub fn as_h_mut(&mut self) -> Option<&mut H>
pub fn into_h(self) -> Result<H, Self>
Trait Implementations§
Source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone, G: Clone, H: Clone> Clone for AnyOf8<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 AnyOf8<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 AnyOf8<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 AnyOf8<A, B, C, D, E, F, G, H>
Source§impl<'js, A: FromJs<'js>, B: FromJs<'js>, C: FromJs<'js>, D: FromJs<'js>, E: FromJs<'js>, F: FromJs<'js>, G: FromJs<'js>, H: FromJs<'js>> FromJs<'js> for AnyOf8<A, B, C, D, E, F, G, H>
impl<'js, A: FromJs<'js>, B: FromJs<'js>, C: FromJs<'js>, D: FromJs<'js>, E: FromJs<'js>, F: FromJs<'js>, G: FromJs<'js>, H: FromJs<'js>> FromJs<'js> for AnyOf8<A, B, C, D, E, F, G, H>
Source§impl<'js, A: IntoJs<'js>, B: IntoJs<'js>, C: IntoJs<'js>, D: IntoJs<'js>, E: IntoJs<'js>, F: IntoJs<'js>, G: IntoJs<'js>, H: IntoJs<'js>> IntoJs<'js> for AnyOf8<A, B, C, D, E, F, G, H>
impl<'js, A: IntoJs<'js>, B: IntoJs<'js>, C: IntoJs<'js>, D: IntoJs<'js>, E: IntoJs<'js>, F: IntoJs<'js>, G: IntoJs<'js>, H: IntoJs<'js>> IntoJs<'js> for AnyOf8<A, B, C, D, E, F, G, H>
Source§impl<'js, A: JsLifetime<'js>, B: JsLifetime<'js>, C: JsLifetime<'js>, D: JsLifetime<'js>, E: JsLifetime<'js>, F: JsLifetime<'js>, G: JsLifetime<'js>, H: JsLifetime<'js>> JsLifetime<'js> for AnyOf8<A, B, C, D, E, F, G, H>
impl<'js, A: JsLifetime<'js>, B: JsLifetime<'js>, C: JsLifetime<'js>, D: JsLifetime<'js>, E: JsLifetime<'js>, F: JsLifetime<'js>, G: JsLifetime<'js>, H: JsLifetime<'js>> JsLifetime<'js> for AnyOf8<A, B, C, D, E, F, G, H>
Source§type Changed<'to> = AnyOf8<<A as JsLifetime<'js>>::Changed<'to>, <B as JsLifetime<'js>>::Changed<'to>, <C as JsLifetime<'js>>::Changed<'to>, <D as JsLifetime<'js>>::Changed<'to>, <E as JsLifetime<'js>>::Changed<'to>, <F as JsLifetime<'js>>::Changed<'to>, <G as JsLifetime<'js>>::Changed<'to>, <H as JsLifetime<'js>>::Changed<'to>>
type Changed<'to> = AnyOf8<<A as JsLifetime<'js>>::Changed<'to>, <B as JsLifetime<'js>>::Changed<'to>, <C as JsLifetime<'js>>::Changed<'to>, <D as JsLifetime<'js>>::Changed<'to>, <E as JsLifetime<'js>>::Changed<'to>, <F as JsLifetime<'js>>::Changed<'to>, <G as JsLifetime<'js>>::Changed<'to>, <H as JsLifetime<'js>>::Changed<'to>>
The target which has the same type as a
Self but with another lifetime 'tAuto Trait Implementations§
impl<A, B, C, D, E, F, G, H> Freeze for AnyOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> RefUnwindSafe for AnyOf8<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 AnyOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> Sync for AnyOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> Unpin for AnyOf8<A, B, C, D, E, F, G, H>
impl<A, B, C, D, E, F, G, H> UnsafeUnpin for AnyOf8<A, B, C, D, E, F, G, H>where
A: UnsafeUnpin,
B: UnsafeUnpin,
C: UnsafeUnpin,
D: UnsafeUnpin,
E: UnsafeUnpin,
F: UnsafeUnpin,
G: UnsafeUnpin,
H: UnsafeUnpin,
impl<A, B, C, D, E, F, G, H> UnwindSafe for AnyOf8<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<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
impl<'js, T> AsProperty<'js, T> for Twhere
T: IntoJs<'js>,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'js, T> FromParam<'js> for Twhere
T: FromJs<'js>,
impl<'js, T> FromParam<'js> for Twhere
T: FromJs<'js>,
Source§fn param_requirement() -> ParamRequirement
fn param_requirement() -> ParamRequirement
The parameters requirements this value requires.
Source§fn from_param<'a>(params: &mut ParamsAccessor<'a, 'js>) -> Result<T, Error>
fn from_param<'a>(params: &mut ParamsAccessor<'a, 'js>) -> Result<T, Error>
Convert from a parameter value.
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more