Struct ash::ext::acquire_drm_display::Instance
source · pub struct Instance {
pub(crate) fp: InstanceFn,
pub(crate) handle: Instance,
}
Expand description
VK_EXT_acquire_drm_display instance-level functions
Fields§
§fp: InstanceFn
§handle: Instance
Implementations§
source§impl Instance
impl Instance
sourcepub unsafe fn acquire_drm_display(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR,
) -> VkResult<()>
pub unsafe fn acquire_drm_display( &self, physical_device: PhysicalDevice, drm_fd: i32, display: DisplayKHR, ) -> VkResult<()>
sourcepub unsafe fn get_drm_display(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32,
) -> VkResult<DisplayKHR>
pub unsafe fn get_drm_display( &self, physical_device: PhysicalDevice, drm_fd: i32, connector_id: u32, ) -> VkResult<DisplayKHR>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Instance
impl RefUnwindSafe for Instance
impl Send for Instance
impl Sync for Instance
impl Unpin for Instance
impl UnwindSafe for Instance
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