Struct ash::vk::definitions::DisplayPlaneCapabilitiesKHR
source · #[repr(C)]pub struct DisplayPlaneCapabilitiesKHR {
pub supported_alpha: DisplayPlaneAlphaFlagsKHR,
pub min_src_position: Offset2D,
pub max_src_position: Offset2D,
pub min_src_extent: Extent2D,
pub max_src_extent: Extent2D,
pub min_dst_position: Offset2D,
pub max_dst_position: Offset2D,
pub min_dst_extent: Extent2D,
pub max_dst_extent: Extent2D,
}
Expand description
Fields§
§supported_alpha: DisplayPlaneAlphaFlagsKHR
§min_src_position: Offset2D
§max_src_position: Offset2D
§min_src_extent: Extent2D
§max_src_extent: Extent2D
§min_dst_position: Offset2D
§max_dst_position: Offset2D
§min_dst_extent: Extent2D
§max_dst_extent: Extent2D
Implementations§
source§impl DisplayPlaneCapabilitiesKHR
impl DisplayPlaneCapabilitiesKHR
pub fn supported_alpha(self, supported_alpha: DisplayPlaneAlphaFlagsKHR) -> Self
pub fn min_src_position(self, min_src_position: Offset2D) -> Self
pub fn max_src_position(self, max_src_position: Offset2D) -> Self
pub fn min_src_extent(self, min_src_extent: Extent2D) -> Self
pub fn max_src_extent(self, max_src_extent: Extent2D) -> Self
pub fn min_dst_position(self, min_dst_position: Offset2D) -> Self
pub fn max_dst_position(self, max_dst_position: Offset2D) -> Self
pub fn min_dst_extent(self, min_dst_extent: Extent2D) -> Self
pub fn max_dst_extent(self, max_dst_extent: Extent2D) -> Self
Trait Implementations§
source§impl Clone for DisplayPlaneCapabilitiesKHR
impl Clone for DisplayPlaneCapabilitiesKHR
source§fn clone(&self) -> DisplayPlaneCapabilitiesKHR
fn clone(&self) -> DisplayPlaneCapabilitiesKHR
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 moresource§impl Debug for DisplayPlaneCapabilitiesKHR
impl Debug for DisplayPlaneCapabilitiesKHR
source§impl Default for DisplayPlaneCapabilitiesKHR
impl Default for DisplayPlaneCapabilitiesKHR
source§fn default() -> DisplayPlaneCapabilitiesKHR
fn default() -> DisplayPlaneCapabilitiesKHR
Returns the “default value” for a type. Read more
impl Copy for DisplayPlaneCapabilitiesKHR
Auto Trait Implementations§
impl Freeze for DisplayPlaneCapabilitiesKHR
impl RefUnwindSafe for DisplayPlaneCapabilitiesKHR
impl Send for DisplayPlaneCapabilitiesKHR
impl Sync for DisplayPlaneCapabilitiesKHR
impl Unpin for DisplayPlaneCapabilitiesKHR
impl UnwindSafe for DisplayPlaneCapabilitiesKHR
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