Struct weblab::MCQuestion
source · [−]pub struct MCQuestion {
pub title: &'static str,
pub weight: f32,
pub assignment_text: &'static str,
pub options: &'static [MCOption],
pub randomize: bool,
pub style: MCStyle,
pub explanation: &'static str,
}Fields
title: &'static strweight: f32assignment_text: &'static stroptions: &'static [MCOption]randomize: boolstyle: MCStyleexplanation: &'static strAuto Trait Implementations
impl RefUnwindSafe for MCQuestion
impl Send for MCQuestion
impl Sync for MCQuestion
impl Unpin for MCQuestion
impl UnwindSafe for MCQuestion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more