#[non_exhaustive]pub enum QuestionKind {
Noul,
Choice,
Score,
}Expand description
The three TypeSafe question types.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Noul
Yes/no; answered with the probability of yes.
Choice
One of a set of options.
Score
A position on ordered levels.
Implementations§
Trait Implementations§
Source§impl Clone for QuestionKind
impl Clone for QuestionKind
Source§fn clone(&self) -> QuestionKind
fn clone(&self) -> QuestionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QuestionKind
Source§impl Debug for QuestionKind
impl Debug for QuestionKind
Source§impl Display for QuestionKind
impl Display for QuestionKind
impl Eq for QuestionKind
Source§impl Hash for QuestionKind
impl Hash for QuestionKind
Source§impl PartialEq for QuestionKind
impl PartialEq for QuestionKind
impl StructuralPartialEq for QuestionKind
Auto Trait Implementations§
impl Freeze for QuestionKind
impl RefUnwindSafe for QuestionKind
impl Send for QuestionKind
impl Sync for QuestionKind
impl Unpin for QuestionKind
impl UnsafeUnpin for QuestionKind
impl UnwindSafe for QuestionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.