pub enum MagnifierRequest {
RegisterHandler {
handler: ClientEnd<MagnificationHandlerMarker>,
control_handle: MagnifierControlHandle,
},
}
Variants§
RegisterHandler
Registers the camera control to be used for applying magnification. If a previous handler had been registered, that handler is dropped.
Implementations§
Source§impl MagnifierRequest
impl MagnifierRequest
pub fn into_register_handler( self, ) -> Option<(ClientEnd<MagnificationHandlerMarker>, MagnifierControlHandle)>
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 MagnifierRequest
impl !RefUnwindSafe for MagnifierRequest
impl Send for MagnifierRequest
impl Sync for MagnifierRequest
impl Unpin for MagnifierRequest
impl !UnwindSafe for MagnifierRequest
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