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

A handler for the wl_shm global

This handler is automatically included in the default_environment!.

Implementations

Create a new ShmHandler

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

Access the list of SHM formats supported by the compositor

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.