Struct wayland_client::protocol::wl_surface::Implementation
[−]
[src]
pub struct Implementation<ID> { pub enter: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlSurface, _: &WlOutput), pub leave: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlSurface, _: &WlOutput), }
Fields
enter: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlSurface, _: &WlOutput)
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.
Arguments: event_queue_handle, interface_data, wl_surface, output
leave: fn(_: &mut EventQueueHandle, _: &mut ID, _: &WlSurface, _: &WlOutput)
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.
Arguments: event_queue_handle, interface_data, wl_surface, output
Trait Implementations
impl<ID> Copy for Implementation<ID>
[src]
impl<ID> Clone for Implementation<ID>
[src]
fn clone(&self) -> Implementation<ID>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more