pub enum TouchSourceWithLocalHitRequest {
Watch {
responses: Vec<TouchResponse>,
responder: TouchSourceWithLocalHitWatchResponder,
},
UpdateResponse {
interaction: TouchInteractionId,
response: TouchResponse,
responder: TouchSourceWithLocalHitUpdateResponseResponder,
},
}
Expand description
Like [fuchsia.ui.pointer.TouchSource
], but with additional information
about the local-hit position of touch events, and otherwise identical in
operation. See [fuchsia.ui.pointer.TouchSource
] for regular usage
information.
Variants§
Watch
Identical usage to [fuchsia.ui.pointer.TouchSource.Watch
], but with
augmented data.
UpdateResponse
Identical usage to [fuchsia.ui.pointer.TouchSource.UpdateResponse
].
Implementations§
Source§impl TouchSourceWithLocalHitRequest
impl TouchSourceWithLocalHitRequest
pub fn into_watch( self, ) -> Option<(Vec<TouchResponse>, TouchSourceWithLocalHitWatchResponder)>
pub fn into_update_response( self, ) -> Option<(TouchInteractionId, TouchResponse, TouchSourceWithLocalHitUpdateResponseResponder)>
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 TouchSourceWithLocalHitRequest
impl !RefUnwindSafe for TouchSourceWithLocalHitRequest
impl Send for TouchSourceWithLocalHitRequest
impl Sync for TouchSourceWithLocalHitRequest
impl Unpin for TouchSourceWithLocalHitRequest
impl !UnwindSafe for TouchSourceWithLocalHitRequest
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