fidl_fuchsia_ui_pointer

Trait TouchSourceProxyInterface

Source
pub trait TouchSourceProxyInterface: Send + Sync {
    type WatchResponseFut: Future<Output = Result<Vec<TouchEvent>, Error>> + Send;
    type UpdateResponseResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn watch(&self, responses: &[TouchResponse]) -> Self::WatchResponseFut;
    fn update_response(
        &self,
        interaction: &TouchInteractionId,
        response: &TouchResponse,
    ) -> Self::UpdateResponseResponseFut;
}

Required Associated Types§

Required Methods§

Source

fn watch(&self, responses: &[TouchResponse]) -> Self::WatchResponseFut

Source

fn update_response( &self, interaction: &TouchInteractionId, response: &TouchResponse, ) -> Self::UpdateResponseResponseFut

Implementors§