Struct weblab::MCQuestion
source · [−]pub struct MCQuestion {
pub title: &'static str,
pub assignment_text: &'static str,
pub options: Vec<&'static str, Global>,
pub answer: usize,
}Fields
title: &'static strassignment_text: &'static stroptions: Vec<&'static str, Global>answer: usizeAuto 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