[−][src]Trait wayland_protocols::presentation_time::client::wp_presentation::RequestsTrait
Required methods
fn destroy(&self)
unbind from the presentation interface
Informs the server that the client will no longer be using this protocol object. Existing objects created by this object are not affected.
This is a destructor, you cannot send requests to this object any longer once this method is called.
fn feedback<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WpPresentationFeedback>, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> Proxy<WpPresentationFeedback>,
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WpPresentationFeedback>, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> Proxy<WpPresentationFeedback>,
request presentation feedback information
Request presentation feedback for the current content submission on the given surface. This creates a new presentation_feedback object, which will deliver the feedback information once. If multiple presentation_feedback objects are created for the same submission, they will all deliver the same information.
For details on what information is returned, see the presentation_feedback interface.
Implementations on Foreign Types
impl RequestsTrait for Proxy<WpPresentation>
[src]
fn destroy(&self)
[src]
fn feedback<F>(
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WpPresentationFeedback>, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> Proxy<WpPresentationFeedback>,
[src]
&self,
surface: &Proxy<WlSurface>,
implementor: F
) -> Result<Proxy<WpPresentationFeedback>, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> Proxy<WpPresentationFeedback>,