pub enum IntentResponse {
Handled,
Propagated,
}Expand description
Return value of an Action handler. Controls
whether the intent keeps bubbling up to ancestor widgets.
Variants§
Handled
Intent was consumed; stop walking up the focus chain.
Propagated
Intent was observed but not consumed; continue walking up so ancestor widgets can also react.
Trait Implementations§
Source§impl Clone for IntentResponse
impl Clone for IntentResponse
Source§fn clone(&self) -> IntentResponse
fn clone(&self) -> IntentResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IntentResponse
Source§impl Debug for IntentResponse
impl Debug for IntentResponse
Source§impl Default for IntentResponse
impl Default for IntentResponse
Source§fn default() -> IntentResponse
fn default() -> IntentResponse
Returns the “default value” for a type. Read more
impl Eq for IntentResponse
Source§impl PartialEq for IntentResponse
impl PartialEq for IntentResponse
impl StructuralPartialEq for IntentResponse
Auto Trait Implementations§
impl Freeze for IntentResponse
impl RefUnwindSafe for IntentResponse
impl Send for IntentResponse
impl Sync for IntentResponse
impl Unpin for IntentResponse
impl UnsafeUnpin for IntentResponse
impl UnwindSafe for IntentResponse
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