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 str§weight: f32§assignment_text: &'static str§options: &'static [MCOption]§randomize: bool§style: MCStyle§explanation: &'static strAuto Trait Implementations§
impl Freeze for MCQuestion
impl RefUnwindSafe for MCQuestion
impl Send for MCQuestion
impl Sync for MCQuestion
impl Unpin for MCQuestion
impl UnwindSafe for MCQuestion
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