Struct smithay_client_toolkit::environment::SimpleGlobal[][src]

pub struct SimpleGlobal<I: Interface> { /* fields omitted */ }
Expand description

A minimalist global handler for “single” globals

This handler will simply register the global as soon as the registry signals it, and do nothing more.

It is appropriate for globals that never generate events, like wl_compositor or wl_data_device_manager.

Implementations

Create a new handler

Trait Implementations

Formats the value using the given formatter. Read more

This global was created and signaled in the registry with given id and version

Access the global if it was signaled

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

Performs the conversion.

Performs the conversion.

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.