Struct wayland_server::protocol::wl_shm::WlShm
[−]
[src]
pub struct WlShm { /* fields omitted */ }
Methods
impl WlShm
[src]
fn format(&self, format: Format) -> EventResult<()>
pixel format description
Informs the client about a valid pixel format that can be used for buffers. Known formats include argb8888 and xrgb8888.
Trait Implementations
impl Send for WlShm
[src]
impl Sync for WlShm
[src]
impl Resource for WlShm
[src]
fn ptr(&self) -> *mut wl_resource
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_resource) -> WlShm
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_resource) -> WlShm
Create an instance from a wayland pointer Read more
fn interface_ptr() -> *const wl_interface
Pointer to the interface representation
fn interface_name() -> &'static str
Internal wayland name of this interface
fn supported_version() -> u32
Max version of this interface supported
fn version(&self) -> i32
Current version of the interface this resource is instanciated with
fn is_alive(&self) -> bool
Check if the resource behind this handle is actually still alive
fn equals(&self, other: &WlShm) -> bool
Check of two handles are actually the same wayland object Read more