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§
Auto Trait Implementations§
impl<'a, B> Freeze for DisplayPlane<'a, B>
impl<'a, B> RefUnwindSafe for DisplayPlane<'a, B>
impl<'a, B> Send for DisplayPlane<'a, B>
impl<'a, B> Sync for DisplayPlane<'a, B>
impl<'a, B> Unpin for DisplayPlane<'a, B>
impl<'a, B> UnwindSafe for DisplayPlane<'a, B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more