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

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

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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<ID> PartialEq for Implementation<ID>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.