pub struct DisplayModeProperties(/* private fields */);
Available on crate feature
VK_KHR_display
only.Implementations§
Source§impl DisplayModeProperties
impl DisplayModeProperties
Sourcepub const fn display_mode(&self) -> DisplayMode
pub const fn display_mode(&self) -> DisplayMode
A handle to the display mode described in this structure. This handle will be valid for the lifetime of the Vulkan instance.
Trait Implementations§
Source§impl AsRef<VkDisplayModePropertiesKHR> for DisplayModeProperties
impl AsRef<VkDisplayModePropertiesKHR> for DisplayModeProperties
Source§fn as_ref(&self) -> &VkDisplayModePropertiesKHR
fn as_ref(&self) -> &VkDisplayModePropertiesKHR
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Deref for DisplayModeProperties
impl Deref for DisplayModeProperties
Source§type Target = VkDisplayModePropertiesKHR
type Target = VkDisplayModePropertiesKHR
The resulting type after dereferencing.
Source§fn deref(&self) -> &VkDisplayModePropertiesKHR
fn deref(&self) -> &VkDisplayModePropertiesKHR
Dereferences the value.
Source§impl From<DisplayModeProperties> for VkDisplayModePropertiesKHR
impl From<DisplayModeProperties> for VkDisplayModePropertiesKHR
Source§fn from(v: DisplayModeProperties) -> Self
fn from(v: DisplayModeProperties) -> Self
Converts to this type from the input type.
Source§impl From<VkDisplayModePropertiesKHR> for DisplayModeProperties
impl From<VkDisplayModePropertiesKHR> for DisplayModeProperties
Source§fn from(v: VkDisplayModePropertiesKHR) -> Self
fn from(v: VkDisplayModePropertiesKHR) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DisplayModeProperties
impl RefUnwindSafe for DisplayModeProperties
impl !Send for DisplayModeProperties
impl !Sync for DisplayModeProperties
impl Unpin for DisplayModeProperties
impl UnwindSafe for DisplayModeProperties
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