pub struct TriviaContext {
pub repeat_questions: bool,
/* private fields */
}
Fields§
§repeat_questions: bool
Whether or not questions may repeat
Implementations§
Trait Implementations§
Source§impl Clone for TriviaContext
impl Clone for TriviaContext
Source§fn clone(&self) -> TriviaContext
fn clone(&self) -> TriviaContext
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 moreAuto Trait Implementations§
impl Freeze for TriviaContext
impl RefUnwindSafe for TriviaContext
impl Send for TriviaContext
impl Sync for TriviaContext
impl Unpin for TriviaContext
impl UnwindSafe for TriviaContext
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