Struct wayland_server::protocol::wl_surface::WlSurface
[−]
[src]
pub struct WlSurface { /* fields omitted */ }
Methods
impl WlSurface
[src]
fn enter(&self, output: &WlOutput) -> EventResult<()>
surface enters an output
This is emitted whenever a surface's creation, movement, or resizing results in some part of it being within the scanout region of an output.
Note that a surface may be overlapping with zero or more outputs.
fn leave(&self, output: &WlOutput) -> EventResult<()>
surface leaves an output
This is emitted whenever a surface's creation, movement, or resizing results in it no longer having any part of it within the scanout region of an output.
Trait Implementations
impl Send for WlSurface
[src]
impl Sync for WlSurface
[src]
impl Resource for WlSurface
[src]
fn ptr(&self) -> *mut wl_resource
Pointer to the underlying wayland proxy object
unsafe fn from_ptr_new(ptr: *mut wl_resource) -> WlSurface
Create an instance from a wayland pointer Read more
unsafe fn from_ptr_initialized(ptr: *mut wl_resource) -> WlSurface
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: &WlSurface) -> bool
Check of two handles are actually the same wayland object Read more