[][src]Trait wlroots::output::Handler

pub trait Handler {
    fn on_frame(&mut self, compositor_handle: Handle, output_handle: Handle) { ... }
fn on_mode_change(
        &mut self,
        compositor_handle: Handle,
        output_handle: Handle
    ) { ... }
fn on_enable(&mut self, compositor_handle: Handle, output_handle: Handle) { ... }
fn on_scale_change(
        &mut self,
        compositor_handle: Handle,
        output_handle: Handle
    ) { ... }
fn on_transform(&mut self, compositor_handle: Handle, output_handle: Handle) { ... }
fn on_buffers_swapped(
        &mut self,
        compositor_handle: Handle,
        output_handle: Handle
    ) { ... }
fn needs_swap(&mut self, compositor_handle: Handle, output_handle: Handle) { ... }
fn destroyed(&mut self, compositor_handle: Handle, output_handle: Handle) { ... } }

Provided Methods

Called every time the output frame is updated.

Called every time the output mode changes.

Called every time the output is enabled.

Called every time the output scale changes.

Called every time the output transforms.

Called every time the buffers are swapped on an output.

Called every time the buffers need to be swapped on an output.

Called when an output is destroyed (e.g. unplugged).

Implementors