pub enum IntentSource {
Shortcut,
Menu,
Handler,
Programmatic,
Accessibility,
Unknown,
}Expand description
Where an intent came from. Reserved for future use; all dispatch
sites currently emit IntentSource::Unknown because the dispatch
path doesn’t yet propagate origin information. Plumbing through the
real source is not yet implemented.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for IntentSource
impl Clone for IntentSource
Source§fn clone(&self) -> IntentSource
fn clone(&self) -> IntentSource
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 IntentSource
Source§impl Debug for IntentSource
impl Debug for IntentSource
impl Eq for IntentSource
Source§impl PartialEq for IntentSource
impl PartialEq for IntentSource
impl StructuralPartialEq for IntentSource
Auto Trait Implementations§
impl Freeze for IntentSource
impl RefUnwindSafe for IntentSource
impl Send for IntentSource
impl Sync for IntentSource
impl Unpin for IntentSource
impl UnsafeUnpin for IntentSource
impl UnwindSafe for IntentSource
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