#[repr(transparent)]pub struct DisplayMode(pub VkDisplayModeKHR);
Available on crate feature
VK_KHR_display
only.Tuple Fields§
§0: VkDisplayModeKHR
Implementations§
Source§impl DisplayMode
impl DisplayMode
pub unsafe fn new( display: &Display<impl PhysicalDevice>, create_info: &VkDisplayModeCreateInfoKHR, ) -> Result<Self>
Available on crate feature
Implements
only.Trait Implementations§
Source§impl VkHandle for DisplayMode
impl VkHandle for DisplayMode
type Handle = VkDisplayModeKHR
Source§fn native_ptr(&self) -> Self::Handle
fn native_ptr(&self) -> Self::Handle
Retrieve an underlying handle
fn as_transparent_ref(&self) -> VkHandleRef<'_, Self::Handle>
Source§impl VkHandleMut for DisplayMode
impl VkHandleMut for DisplayMode
Source§fn native_ptr_mut(&mut self) -> Self::Handle
fn native_ptr_mut(&mut self) -> Self::Handle
Retrieve an underlying mutable handle
fn as_transparent_ref_mut(&mut self) -> VkHandleRefMut<'_, Self::Handle>
Source§impl VkObject for DisplayMode
impl VkObject for DisplayMode
const TYPE: VkObjectType = 1_000_002_001i32
Auto Trait Implementations§
impl Freeze for DisplayMode
impl RefUnwindSafe for DisplayMode
impl !Send for DisplayMode
impl !Sync for DisplayMode
impl Unpin for DisplayMode
impl UnwindSafe for DisplayMode
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