pub struct DisplayPlane<'a, B: Backend> {
    pub display_mode: &'a DisplayMode<B>,
    pub plane: &'a Plane,
    pub supported_alpha: Vec<DisplayPlaneAlpha>,
    pub src_position: Range<Offset2D>,
    pub src_extent: Range<Extent2D>,
    pub dst_position: Range<Offset2D>,
    pub dst_extent: Range<Extent2D>,
}
Expand description

Represent a combination of display mode (so display and resolution) and a plane

Fields

display_mode: &'a DisplayMode<B>

Display mode

plane: &'a Plane

Plane index

supported_alpha: Vec<DisplayPlaneAlpha>

Supported alpha capabilities

src_position: Range<Offset2D>

The minimum and the maximum source rectangle offset supported by this plane using the specified mode.

src_extent: Range<Extent2D>

The minimum and maximum source rectangle size supported by this plane using the specified mode.

dst_position: Range<Offset2D>

Same as src_position. but applied to destination.

dst_extent: Range<Extent2D>

Same as src_extent. but applied to destination.

Trait Implementations

Formats the value using the given formatter. Read more

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.