Struct vulkano::display::DisplayPlaneCapabilities
source · #[non_exhaustive]pub struct DisplayPlaneCapabilities {
pub supported_alpha: DisplayPlaneAlphaFlags,
pub min_src_position: [u32; 2],
pub max_src_position: [u32; 2],
pub min_src_extent: [u32; 2],
pub max_src_extent: [u32; 2],
pub min_dst_position: [u32; 2],
pub max_dst_position: [i32; 2],
pub min_dst_extent: [u32; 2],
pub max_dst_extent: [u32; 2],
}
Expand description
The capabilities of a display plane.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.supported_alpha: DisplayPlaneAlphaFlags
The supported alpha blending modes.
min_src_position: [u32; 2]
The minimum supported source rectangle offset.
max_src_position: [u32; 2]
The maximum supported source rectangle offset.
min_src_extent: [u32; 2]
The minimum supported source rectangle size.
max_src_extent: [u32; 2]
The maximum supported source rectangle size.
min_dst_position: [u32; 2]
The minimum supported destination rectangle offset.
max_dst_position: [i32; 2]
The maximum supported destination rectangle offset.
min_dst_extent: [u32; 2]
The minimum supported destination rectangle size.
max_dst_extent: [u32; 2]
The maximum supported destination rectangle size.
Trait Implementations§
source§impl Clone for DisplayPlaneCapabilities
impl Clone for DisplayPlaneCapabilities
source§fn clone(&self) -> DisplayPlaneCapabilities
fn clone(&self) -> DisplayPlaneCapabilities
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for DisplayPlaneCapabilities
impl Send for DisplayPlaneCapabilities
impl Sync for DisplayPlaneCapabilities
impl Unpin for DisplayPlaneCapabilities
impl UnwindSafe for DisplayPlaneCapabilities
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