pub struct Choice {
pub label: String,
pub rewrite: Vec<BarText>,
}Expand description
One answer: the bars to replace if it is chosen.
Fields§
§label: StringShort plain words.
rewrite: Vec<BarText>Implementations§
Trait Implementations§
impl StructuralPartialEq for Choice
Auto Trait Implementations§
impl Forget for Choice
impl Freeze for Choice
impl Move for Choice
impl RefUnwindSafe for Choice
impl Send for Choicewhere
RawVecInner: Send,
impl Sync for Choicewhere
RawVecInner: Sync,
impl Unpin for Choice
impl UnsafeUnpin for Choicewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<BarText>: UnsafeUnpin,
impl UnwindSafe for Choicewhere
RawVecInner: UnwindSafe,
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