pub enum MagnificationHandlerRequest {
SetClipSpaceTransform {
x: f32,
y: f32,
scale: f32,
responder: MagnificationHandlerSetClipSpaceTransformResponder,
},
}
Expand description
Exposes a privileged magnifier API for camera control, typically on a
fuchsia.ui.policy.Presentation
.
Variants§
SetClipSpaceTransform
Sets clip-space x-offset, y-offset, and scale for the presentation. x and y are in Vulkan NDC and are applied after scaling, which occurs about the center of the presentation. The callback indicates when the update has been presented. The identity transform (0, 0, 1) is the natural state.
Implementations§
Source§impl MagnificationHandlerRequest
impl MagnificationHandlerRequest
pub fn into_set_clip_space_transform( self, ) -> Option<(f32, f32, f32, MagnificationHandlerSetClipSpaceTransformResponder)>
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 MagnificationHandlerRequest
impl !RefUnwindSafe for MagnificationHandlerRequest
impl Send for MagnificationHandlerRequest
impl Sync for MagnificationHandlerRequest
impl Unpin for MagnificationHandlerRequest
impl !UnwindSafe for MagnificationHandlerRequest
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