Enum wayland_protocols::presentation_time::server::wp_presentation::Request
[−]
[src]
pub enum Request {
Destroy,
Feedback {
surface: Resource<WlSurface>,
callback: NewResource<WpPresentationFeedback>,
},
}Variants
Destroyunbind 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, once received this object cannot be used any longer.
Feedbackrequest 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.
Fields of Feedback
surface: Resource<WlSurface> | |
callback: NewResource<WpPresentationFeedback> |
Trait Implementations
impl MessageGroup for Request[src]
fn is_destructor(&self) -> bool[src]
Whether this message is a destructor Read more
unsafe fn from_raw_c(
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Request, ()>
Construct a message of this group from its C representation
fn as_raw_c_in<F, T>(self, f: F) -> T where
F: FnOnce(u32, &mut [wl_argument]) -> T, [src]
F: FnOnce(u32, &mut [wl_argument]) -> T,
Build a C representation of this message Read more