pub struct OutputHandler { /* private fields */ }
Expand description

A handler for wl_output

This handler can be used for managing wl_output in the init_environment! macro, and is automatically included in new_default_environment!.

It aggregates the output information and makes it available via the with_output_info function.

Implementations

Create a new instance of this handler

Trait Implementations

Formats the value using the given formatter. Read more

A new instance of this global was created with given id and version

The instance with given id was removed

Access all the currently existing instances

Insert a listener for output creation and removal events

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.