Enum wayland_client::protocol::wl_surface::Event
[−]
[src]
pub enum Event {
Enter {
output: Proxy<WlOutput>,
},
Leave {
output: Proxy<WlOutput>,
},
}Variants
Entersurface 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.
Fields of Enter
output: Proxy<WlOutput> |
Leavesurface 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.
Fields of Leave
output: Proxy<WlOutput> |
Trait Implementations
impl MessageGroup for Event[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<Event, ()>[src]
obj: *mut c_void,
opcode: u32,
args: *const wl_argument
) -> Result<Event, ()>
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