fidl_fuchsia_ui_views

Trait FocuserProxyInterface

Source
pub trait FocuserProxyInterface: Send + Sync {
    type RequestFocusResponseFut: Future<Output = Result<FocuserRequestFocusResult, Error>> + Send;
    type SetAutoFocusResponseFut: Future<Output = Result<FocuserSetAutoFocusResult, Error>> + Send;

    // Required methods
    fn request_focus(&self, view_ref: ViewRef) -> Self::RequestFocusResponseFut;
    fn set_auto_focus(
        &self,
        payload: FocuserSetAutoFocusRequest,
    ) -> Self::SetAutoFocusResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§