[−][src]Struct wayland_protocols::presentation_time::client::wp_presentation::WpPresentation
Implementations
impl WpPresentation
[src]
pub fn destroy(&self)
[src]
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.
pub fn feedback<F>(
&self,
surface: &WlSurface,
implementor: F
) -> Result<WpPresentationFeedback, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> WpPresentationFeedback,
[src]
&self,
surface: &WlSurface,
implementor: F
) -> Result<WpPresentationFeedback, ()> where
F: FnOnce(NewProxy<WpPresentationFeedback>) -> 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
impl AsRef<Proxy<WpPresentation>> for WpPresentation
[src]
impl Clone for WpPresentation
[src]
fn clone(&self) -> WpPresentation
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for WpPresentation
[src]
impl From<Proxy<WpPresentation>> for WpPresentation
[src]
impl From<WpPresentation> for Proxy<WpPresentation>
[src]
fn from(value: WpPresentation) -> Self
[src]
impl<T: EventHandler> HandledBy<T> for WpPresentation
[src]
impl Interface for WpPresentation
[src]
type Request = Request
Set of requests associated to this interface Read more
type Event = Event
Set of events associated to this interface Read more
const NAME: &'static str
[src]
const VERSION: u32
[src]
fn c_interface() -> *const wl_interface
[src]
impl PartialEq<WpPresentation> for WpPresentation
[src]
fn eq(&self, other: &WpPresentation) -> bool
[src]
fn ne(&self, other: &WpPresentation) -> bool
[src]
impl StructuralEq for WpPresentation
[src]
impl StructuralPartialEq for WpPresentation
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<M, I> HandledBy<Sink<M>> for I where
I: Interface,
M: From<(<I as Interface>::Event, I)>,
[src]
I: Interface,
M: From<(<I as Interface>::Event, I)>,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,