pub struct WpPresentation(/* private fields */);
Implementations§
source§impl WpPresentation
impl WpPresentation
sourcepub fn destroy(&self)
pub 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.
sourcepub fn feedback(&self, surface: &WlSurface) -> Main<WpPresentationFeedback>
pub fn feedback(&self, surface: &WlSurface) -> Main<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.
Trait Implementations§
source§impl AsRef<Proxy<WpPresentation>> for WpPresentation
impl AsRef<Proxy<WpPresentation>> for WpPresentation
source§impl Clone for WpPresentation
impl Clone for WpPresentation
source§fn clone(&self) -> WpPresentation
fn clone(&self) -> WpPresentation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WpPresentation
impl Debug for WpPresentation
source§impl From<Proxy<WpPresentation>> for WpPresentation
impl From<Proxy<WpPresentation>> for WpPresentation
source§impl From<WpPresentation> for Proxy<WpPresentation>
impl From<WpPresentation> for Proxy<WpPresentation>
source§fn from(value: WpPresentation) -> Self
fn from(value: WpPresentation) -> Self
Converts to this type from the input type.
source§impl Interface for WpPresentation
impl Interface for WpPresentation
source§fn c_interface() -> *const wl_interface
fn c_interface() -> *const wl_interface
Pointer to the C representation of this interface
source§impl PartialEq for WpPresentation
impl PartialEq for WpPresentation
source§fn eq(&self, other: &WpPresentation) -> bool
fn eq(&self, other: &WpPresentation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for WpPresentation
impl StructuralEq for WpPresentation
impl StructuralPartialEq for WpPresentation
Auto Trait Implementations§
impl !RefUnwindSafe for WpPresentation
impl Send for WpPresentation
impl Sync for WpPresentation
impl Unpin for WpPresentation
impl !UnwindSafe for WpPresentation
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