Struct wayland_window::FrameImplementation [] [src]

pub struct FrameImplementation<ID> {
    pub configure: fn(_: &mut EventQueueHandle, _: &mut ID, _: Configure, _: Option<(i32, i32)>),
    pub close: fn(_: &mut EventQueueHandle, _: &mut ID),
    pub refresh: fn(_: &mut EventQueueHandle, _: &mut ID),
}

For handling events that occur to a Frame.

Fields

Called whenever the Frame has been resized.

Note: if you've not set a minimum size, width and height will not always be positive values. Values can be negative if a user attempts to resize the window past the left or top borders.

Called when the Frame is closed.

Called when the Frame wants to be refreshed

Trait Implementations

impl<ID> Copy for FrameImplementation<ID>
[src]

impl<ID> Clone for FrameImplementation<ID>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more