pub struct AcquireDrmDisplay { /* private fields */ }
Expand description
Implementations§
Source§impl AcquireDrmDisplay
impl AcquireDrmDisplay
pub fn new(entry: &Entry, instance: &Instance) -> Self
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>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &ExtAcquireDrmDisplayFn
Trait Implementations§
Source§impl Clone for AcquireDrmDisplay
impl Clone for AcquireDrmDisplay
Source§fn clone(&self) -> AcquireDrmDisplay
fn clone(&self) -> AcquireDrmDisplay
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 Freeze for AcquireDrmDisplay
impl RefUnwindSafe for AcquireDrmDisplay
impl Send for AcquireDrmDisplay
impl Sync for AcquireDrmDisplay
impl Unpin for AcquireDrmDisplay
impl UnwindSafe for AcquireDrmDisplay
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)