pub enum CommandOutcome {
Consumed,
PassThrough,
}Expand description
命令处理结果。PassThrough 继续走默认事件路由,与 on_event 的 false 同义。
Variants§
Trait Implementations§
Source§impl Clone for CommandOutcome
impl Clone for CommandOutcome
impl Copy for CommandOutcome
Source§impl Debug for CommandOutcome
impl Debug for CommandOutcome
impl Eq for CommandOutcome
Source§impl PartialEq for CommandOutcome
impl PartialEq for CommandOutcome
impl StructuralPartialEq for CommandOutcome
Auto Trait Implementations§
impl Forget for CommandOutcome
impl Freeze for CommandOutcome
impl Move for CommandOutcome
impl RefUnwindSafe for CommandOutcome
impl Send for CommandOutcome
impl Sync for CommandOutcome
impl Unpin for CommandOutcome
impl UnsafeUnpin for CommandOutcome
impl UnwindSafe for CommandOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.