pub enum FocusChainListenerRequest {
OnFocusChange {
focus_chain: FocusChain,
responder: FocusChainListenerOnFocusChangeResponder,
},
}
Expand description
A FocusChainListener receives an updated FocusChain when focus changes.
Variants§
OnFocusChange
Sent when a focus change occurs. Since focus_chain
may contain an
empty update, every handler MUST respond to the message even
if its contents are not immediately useful.
Implementations§
Source§impl FocusChainListenerRequest
impl FocusChainListenerRequest
pub fn into_on_focus_change( self, ) -> Option<(FocusChain, FocusChainListenerOnFocusChangeResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FocusChainListenerRequest
impl !RefUnwindSafe for FocusChainListenerRequest
impl Send for FocusChainListenerRequest
impl Sync for FocusChainListenerRequest
impl Unpin for FocusChainListenerRequest
impl !UnwindSafe for FocusChainListenerRequest
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