pub enum Outcome {
Read {
context: String,
reads: Vec<TracedRead>,
},
Withheld {
context: String,
},
Blocked {
modal: String,
},
Unbound,
Claimed {
by: String,
},
}Expand description
Where a traced input went — see the module docs.
Variants§
Read
context owns the input, and each of reads read it. Empty when the
context owns it and no binding of a live action in it read it.
Fields
§
reads: Vec<TracedRead>Every binding that read it, in declaration order.
Withheld
context owns the input and withholds it until it is released, since
the stack changed under it or a suppress asked — see context.rs.
Blocked
The modal context modal stopped the input before it reached a
context beneath that binds it.
Unbound
No active context binds the input.
Claimed
Something took the input before it reached the map, by its own account
— see ActionMap::trace_claimed.
Trait Implementations§
Source§impl Display for Outcome
ui: ui_accept (Space), gameplay: nothing read it, withheld by gameplay until released, blocked by modal inventory, unbound,
claimed by the loop: pause.
impl Display for Outcome
ui: ui_accept (Space), gameplay: nothing read it, withheld by gameplay until released, blocked by modal inventory, unbound,
claimed by the loop: pause.
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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