pub struct VkDisplayProperties<'a> {
pub display: VkDisplay,
pub display_name: &'a str,
pub physical_dimensions: VkExtent2D,
pub physical_resolution: VkExtent2D,
pub supported_transforms: VkSurfaceTransformFlags,
pub plane_reorder_possible: bool,
pub persistent_content: bool,
}
Expand description
Wrapper for VkDisplayPropertiesKHR.
Fields§
§display: VkDisplay
§display_name: &'a str
§physical_dimensions: VkExtent2D
§physical_resolution: VkExtent2D
§supported_transforms: VkSurfaceTransformFlags
§plane_reorder_possible: bool
§persistent_content: bool
Trait Implementations§
Source§impl<'a> Clone for VkDisplayProperties<'a>
impl<'a> Clone for VkDisplayProperties<'a>
Source§fn clone(&self) -> VkDisplayProperties<'a>
fn clone(&self) -> VkDisplayProperties<'a>
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<'a> Freeze for VkDisplayProperties<'a>
impl<'a> RefUnwindSafe for VkDisplayProperties<'a>
impl<'a> !Send for VkDisplayProperties<'a>
impl<'a> !Sync for VkDisplayProperties<'a>
impl<'a> Unpin for VkDisplayProperties<'a>
impl<'a> UnwindSafe for VkDisplayProperties<'a>
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