Struct wayland_server::protocol::wl_callback::WlCallback
[−]
[src]
pub struct WlCallback { /* fields omitted */ }
Methods
impl WlCallback
[src]
fn done(&self, callback_data: u32) -> EventResult<()>
[src]
done event
Notify the client when the related request is done.
This is a destructor, you cannot send events to this object once this method is called.
Trait Implementations
impl Send for WlCallback
[src]
impl Sync for WlCallback
[src]
impl Resource for WlCallback
[src]
fn ptr(&self) -> *mut wl_resource
[src]
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_resource) -> WlCallback
[src]
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_resource) -> WlCallback
[src]
Create an instance from a wayland pointer Read more
fn interface_ptr() -> *const wl_interface
[src]
Pointer to the interface representation
fn interface_name() -> &'static str
[src]
Internal wayland name of this interface
fn supported_version() -> u32
[src]
Max version of this interface supported
fn version(&self) -> i32
[src]
Current version of the interface this resource is instantiated with
fn status(&self) -> Liveness
[src]
Check if the resource behind this handle is actually still alive
fn equals(&self, other: &WlCallback) -> bool
[src]
Check of two handles are actually the same wayland object Read more
fn set_user_data(&self, ptr: *mut ())
[src]
Set a pointer associated as user data on this resource Read more
fn get_user_data(&self) -> *mut ()
[src]
Get the pointer associated as user data on this resource Read more
unsafe fn clone_unchecked(&self) -> WlCallback
[src]
Unsafely clone this resource handle Read more
fn post_error(&self, error_code: u32, msg: String)
[src]
Posts a protocol error to this resource Read more
fn clone(&self) -> Option<Self> where
Self: Sized,
[src]
Self: Sized,
Clone this resource handle Read more
fn same_client_as<R: Resource>(&self, other: &R) -> bool
[src]
Checks wether this resource and the other are from the same client Read more