pub struct DebugChoice {
pub text: String,
pub target: Option<String>,
pub index: usize,
}Expand description
A pending choice and the knot it targets.
Fields§
§text: String§target: Option<String>§index: usizeThe raw flow.pending_choices index — the same pre-filter position
the visible Choice’s index carries and
that select_choice/choose expects. Not a post-filter enumeration
position: invisible-default choices are filtered out of what’s shown
but still occupy a slot in pending_choices, so this can skip values.
Auto Trait Implementations§
impl Freeze for DebugChoice
impl RefUnwindSafe for DebugChoice
impl Send for DebugChoice
impl Sync for DebugChoice
impl Unpin for DebugChoice
impl UnsafeUnpin for DebugChoice
impl UnwindSafe for DebugChoice
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