pub struct SocraticHint {
pub text: String,
pub suggested_tactic: Option<SuggestedTactic>,
pub priority: u8,
}Expand description
A Socratic hint - a leading question to guide the user
Fields§
§text: StringThe hint text (a question or observation)
suggested_tactic: Option<SuggestedTactic>The tactic this hint is suggesting
priority: u8Priority (higher = more relevant)
Implementations§
Source§impl SocraticHint
impl SocraticHint
Trait Implementations§
Source§impl Clone for SocraticHint
impl Clone for SocraticHint
Source§fn clone(&self) -> SocraticHint
fn clone(&self) -> SocraticHint
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 SocraticHint
impl RefUnwindSafe for SocraticHint
impl Send for SocraticHint
impl Sync for SocraticHint
impl Unpin for SocraticHint
impl UnwindSafe for SocraticHint
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