pub enum AnyOf6<A, B, C, D, E, F> {
A(A),
B(B),
C(C),
D(D),
E(E),
F(F),
}Variants§
Implementations§
Source§impl<A, B, C, D, E, F> AnyOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> AnyOf6<A, B, C, D, E, F>
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>
Trait Implementations§
Source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for AnyOf6<A, B, C, D, E, F>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for AnyOf6<A, B, C, D, E, F>
Source§impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for AnyOf6<A, B, C, D, E, F>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for AnyOf6<A, B, C, D, E, F>
Source§impl<'js, A: FromJs<'js>, B: FromJs<'js>, C: FromJs<'js>, D: FromJs<'js>, E: FromJs<'js>, F: FromJs<'js>> FromJs<'js> for AnyOf6<A, B, C, D, E, F>
impl<'js, A: FromJs<'js>, B: FromJs<'js>, C: FromJs<'js>, D: FromJs<'js>, E: FromJs<'js>, F: FromJs<'js>> FromJs<'js> for AnyOf6<A, B, C, D, E, F>
Source§impl<'js, A: IntoJs<'js>, B: IntoJs<'js>, C: IntoJs<'js>, D: IntoJs<'js>, E: IntoJs<'js>, F: IntoJs<'js>> IntoJs<'js> for AnyOf6<A, B, C, D, E, F>
impl<'js, A: IntoJs<'js>, B: IntoJs<'js>, C: IntoJs<'js>, D: IntoJs<'js>, E: IntoJs<'js>, F: IntoJs<'js>> IntoJs<'js> for AnyOf6<A, B, C, D, E, F>
Source§impl<'js, A: JsLifetime<'js>, B: JsLifetime<'js>, C: JsLifetime<'js>, D: JsLifetime<'js>, E: JsLifetime<'js>, F: JsLifetime<'js>> JsLifetime<'js> for AnyOf6<A, B, C, D, E, F>
impl<'js, A: JsLifetime<'js>, B: JsLifetime<'js>, C: JsLifetime<'js>, D: JsLifetime<'js>, E: JsLifetime<'js>, F: JsLifetime<'js>> JsLifetime<'js> for AnyOf6<A, B, C, D, E, F>
Source§type Changed<'to> = AnyOf6<<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>>
type Changed<'to> = AnyOf6<<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>>
The target which has the same type as a
Self but with another lifetime 'tAuto Trait Implementations§
impl<A, B, C, D, E, F> Freeze for AnyOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> RefUnwindSafe for AnyOf6<A, B, C, D, E, F>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, B, C, D, E, F> Send for AnyOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Sync for AnyOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Unpin for AnyOf6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> UnsafeUnpin for AnyOf6<A, B, C, D, E, F>where
A: UnsafeUnpin,
B: UnsafeUnpin,
C: UnsafeUnpin,
D: UnsafeUnpin,
E: UnsafeUnpin,
F: UnsafeUnpin,
impl<A, B, C, D, E, F> UnwindSafe for AnyOf6<A, B, C, D, E, F>
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