[−][src]Trait wayland_protocols::viewporter::server::wp_viewporter::RequestHandler
An interface for handling requests.
Provided methods
fn destroy(&mut self, object: WpViewporter)
unbind from the cropping and scaling interface
Informs the server that the client will not be using this protocol object anymore. This does not affect any other objects, wp_viewport objects included.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn get_viewport(
&mut self,
object: WpViewporter,
id: NewResource<WpViewport>,
surface: WlSurface
)
&mut self,
object: WpViewporter,
id: NewResource<WpViewport>,
surface: WlSurface
)
extend surface interface for crop and scale
Instantiate an interface extension for the given wl_surface to crop and scale its content. If the given wl_surface already has a wp_viewport object associated, the viewport_exists protocol error is raised.