Struct gfx_backend_empty::PhysicalDevice[][src]

pub struct PhysicalDevice;
Expand description

Dummy physical device.

Trait Implementations

Formats the value using the given formatter. Read more

Create a new logical device with the requested features. If requested_features is empty, then only the core features are supported. Read more

Fetch details for a particular format.

Fetch details for a particular image format.

Fetch details for the memory regions provided by the device.

Get external buffer properties. The parameters specify how the buffer is going to used. Read more

Get external image properties. The parameters specify how the image is going to used. Read more

Returns the features of this PhysicalDevice. This usually depends on the graphics API being used, as well as the actual platform underneath. Read more

Returns the properties of this PhysicalDevice. Similarly to Features, they

Enumerate active displays surface from display. Please notice that, even if a system has displays attached, they could be not returned because they are managed by some other components. This function only return the display that are available to be managed by the current application. Since, generally, while compositor are running they take the control of every display connected, it could be better to run the application directly from the tty to avoid the return of an empty list. Read more

Enumerate compatibles planes with the provided display. Read more

Create a new display mode from a display, a resolution, a refresh_rate and the plane index. If the builtin display modes does not satisfy the requirements, this function will try to create a new one. Read more

Create a display plane from a display, a resolution, a refresh_rate and a plane. If the builtin display modes does not satisfy the requirements, this function will try to create a new one. Read more

Check cache compatibility with the PhysicalDevice.

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.