pub struct DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice: PhysicalDevice>(/* private fields */);
Available on crate feature
VK_KHR_display
only.Implementations§
Source§impl<PhysicalDevice: PhysicalDevice> DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
impl<PhysicalDevice: PhysicalDevice> DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
Sourcepub const fn display(&self) -> Display<&PhysicalDevice>
pub const fn display(&self) -> Display<&PhysicalDevice>
A handle that is used to refer to the display described here. This handle will be valid for the lifetime of the Vulkan instance.
Sourcepub const fn display_name(&self) -> &CStr
pub const fn display_name(&self) -> &CStr
The name of the display.
Sourcepub const fn can_reorder_plane(&self) -> bool
pub const fn can_reorder_plane(&self) -> bool
Whether the planes on this display can have their z order changed.
Sourcepub const fn has_persistent_content(&self) -> bool
pub const fn has_persistent_content(&self) -> bool
Whether the display supports self-refresh/internal buffering.
Methods from Deref<Target = VkDisplayPropertiesKHR>§
pub fn supported_transforms(&self) -> SurfaceTransformFlags
pub fn plane_reorder_possible(&self) -> bool
pub fn persistent_content(&self) -> bool
pub fn display_name(&self) -> Option<&CStr>
Trait Implementations§
Source§impl<PhysicalDevice: PhysicalDevice> AsRef<VkDisplayPropertiesKHR> for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
impl<PhysicalDevice: PhysicalDevice> AsRef<VkDisplayPropertiesKHR> for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
Source§fn as_ref(&self) -> &VkDisplayPropertiesKHR
fn as_ref(&self) -> &VkDisplayPropertiesKHR
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl<PhysicalDevice: PhysicalDevice> Deref for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
impl<PhysicalDevice: PhysicalDevice> Deref for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
Source§type Target = VkDisplayPropertiesKHR
type Target = VkDisplayPropertiesKHR
The resulting type after dereferencing.
Source§fn deref(&self) -> &VkDisplayPropertiesKHR
fn deref(&self) -> &VkDisplayPropertiesKHR
Dereferences the value.
Source§impl<PhysicalDevice: PhysicalDevice> From<DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>> for VkDisplayPropertiesKHR
impl<PhysicalDevice: PhysicalDevice> From<DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>> for VkDisplayPropertiesKHR
Source§fn from(v: DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>) -> Self
fn from(v: DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<PhysicalDevice> Freeze for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>where
PhysicalDevice: Freeze,
impl<PhysicalDevice> RefUnwindSafe for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>where
PhysicalDevice: RefUnwindSafe,
impl<PhysicalDevice> !Send for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
impl<PhysicalDevice> !Sync for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>
impl<PhysicalDevice> Unpin for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>where
PhysicalDevice: Unpin,
impl<PhysicalDevice> UnwindSafe for DisplayPropertiesWithPhysicalDeviceRef<PhysicalDevice>where
PhysicalDevice: UnwindSafe,
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