pub enum ChallengeVariant {
MultipleChoice,
ContextualChoice,
MultipleChoiceCircle,
MultipleChoice4,
SortTable,
InformativeText,
InformativeMarkdown,
Custom,
CustomPackage,
}Variants§
MultipleChoice
ContextualChoice
MultipleChoiceCircle
MultipleChoice4
SortTable
InformativeText
InformativeMarkdown
Custom
CustomPackage
Trait Implementations§
Source§impl Clone for ChallengeVariant
impl Clone for ChallengeVariant
Source§fn clone(&self) -> ChallengeVariant
fn clone(&self) -> ChallengeVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChallengeVariant
impl Debug for ChallengeVariant
Source§impl Default for ChallengeVariant
impl Default for ChallengeVariant
Source§fn default() -> ChallengeVariant
fn default() -> ChallengeVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChallengeVariant
impl<'de> Deserialize<'de> for ChallengeVariant
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ChallengeVariant
impl Display for ChallengeVariant
Source§impl<'_derivative_strum> From<&'_derivative_strum ChallengeVariant> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum ChallengeVariant> for &'static str
Source§fn from(x: &'_derivative_strum ChallengeVariant) -> &'static str
fn from(x: &'_derivative_strum ChallengeVariant) -> &'static str
Converts to this type from the input type.
Source§impl From<ChallengeVariant> for &'static str
impl From<ChallengeVariant> for &'static str
Source§fn from(x: ChallengeVariant) -> &'static str
fn from(x: ChallengeVariant) -> &'static str
Converts to this type from the input type.
Source§impl Hash for ChallengeVariant
impl Hash for ChallengeVariant
Source§impl IntoEnumIterator for ChallengeVariant
impl IntoEnumIterator for ChallengeVariant
type Iterator = ChallengeVariantIter
fn iter() -> ChallengeVariantIter ⓘ
Source§impl PartialEq for ChallengeVariant
impl PartialEq for ChallengeVariant
Source§impl Serialize for ChallengeVariant
impl Serialize for ChallengeVariant
impl Eq for ChallengeVariant
impl StructuralPartialEq for ChallengeVariant
Auto Trait Implementations§
impl Freeze for ChallengeVariant
impl RefUnwindSafe for ChallengeVariant
impl Send for ChallengeVariant
impl Sync for ChallengeVariant
impl Unpin for ChallengeVariant
impl UnwindSafe for ChallengeVariant
Blanket Implementations§
Source§impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S
Source§fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into_using<M>(self, method: M) -> Dwhere
M: TransformMatrix<Swp, Dwp, T>,
Convert the source color to the destination color using the specified
method
Source§fn adapt_into(self) -> D
fn adapt_into(self) -> D
Convert the source color to the destination color using the bradford
method by default
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> FromQuery for Twhere
T: DeserializeOwned,
impl<T> FromQuery for Twhere
T: DeserializeOwned,
Source§impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
impl<T, U> IntoColor<U> for Twhere
U: FromColor<T>,
Source§fn into_color(self) -> U
fn into_color(self) -> U
Convert into T with values clamped to the color defined bounds Read more
Source§impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
impl<T, U> IntoColorUnclamped<U> for Twhere
U: FromColorUnclamped<T>,
Source§fn into_color_unclamped(self) -> U
fn into_color_unclamped(self) -> U
Convert into T. The resulting color might be invalid in its color space Read more
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§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.Source§impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
impl<T, U> TryIntoColor<U> for Twhere
U: TryFromColor<T>,
Source§fn try_into_color(self) -> Result<U, OutOfBounds<U>>
fn try_into_color(self) -> Result<U, OutOfBounds<U>>
Convert into T, returning ok if the color is inside of its defined
range, otherwise an
OutOfBounds error is returned which contains
the unclamped color. Read more