pub struct ViewRefFocused;Expand description
The type corresponding to the ViewRefFocused protocol. A method of enabling a ViewRef creator to determine if its ViewRef has gained or lost focus in the view tree.
The protocol client has implicit access to the ViewRef it created; the protocol itself does not accept a ViewRef parameter. Clients, both trusted or otherwise, need access to view-focus state, so the protocol is deliberately minimal. Possession of a ViewRef (and this protocol) does not grant the power to learn about a ViewRef’s focus state.
Trait Implementations§
Source§impl Debug for ViewRefFocused
impl Debug for ViewRefFocused
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedLocalClientHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalClientMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedLocalClientHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedLocalServerHandler<___T>,
___T: Transport,
impl<___H, ___T> DispatchLocalServerMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedLocalServerHandler<___T>,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedServerHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for ViewRefFocusedwhere
___H: ViewRefFocusedServerHandler<___T> + Send,
___T: Transport,
Source§impl<___T> HasConnectionHandles<___T> for ViewRefFocusedwhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for ViewRefFocusedwhere
___T: Transport,
Source§impl HasTransport for ViewRefFocused
Available on Fuchsia only.
impl HasTransport for ViewRefFocused
Available on Fuchsia only.
Source§impl PartialEq for ViewRefFocused
impl PartialEq for ViewRefFocused
impl StructuralPartialEq for ViewRefFocused
Auto Trait Implementations§
impl Freeze for ViewRefFocused
impl RefUnwindSafe for ViewRefFocused
impl Send for ViewRefFocused
impl Sync for ViewRefFocused
impl Unpin for ViewRefFocused
impl UnsafeUnpin for ViewRefFocused
impl UnwindSafe for ViewRefFocused
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<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]