pub struct Display { /* private fields */ }
Implementations§
Source§impl Display
impl Display
pub fn new(entry: &Entry, instance: &Instance) -> Self
Sourcepub unsafe fn get_physical_device_display_properties(
&self,
physical_device: PhysicalDevice,
) -> VkResult<Vec<DisplayPropertiesKHR>>
pub unsafe fn get_physical_device_display_properties( &self, physical_device: PhysicalDevice, ) -> VkResult<Vec<DisplayPropertiesKHR>>
Sourcepub unsafe fn get_physical_device_display_plane_properties(
&self,
physical_device: PhysicalDevice,
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
pub unsafe fn get_physical_device_display_plane_properties( &self, physical_device: PhysicalDevice, ) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
Sourcepub unsafe fn get_display_plane_supported_displays(
&self,
physical_device: PhysicalDevice,
plane_index: u32,
) -> VkResult<Vec<DisplayKHR>>
pub unsafe fn get_display_plane_supported_displays( &self, physical_device: PhysicalDevice, plane_index: u32, ) -> VkResult<Vec<DisplayKHR>>
Sourcepub unsafe fn get_display_mode_properties(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
) -> VkResult<Vec<DisplayModePropertiesKHR>>
pub unsafe fn get_display_mode_properties( &self, physical_device: PhysicalDevice, display: DisplayKHR, ) -> VkResult<Vec<DisplayModePropertiesKHR>>
Sourcepub unsafe fn create_display_mode(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> VkResult<DisplayModeKHR>
pub unsafe fn create_display_mode( &self, physical_device: PhysicalDevice, display: DisplayKHR, create_info: &DisplayModeCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks>, ) -> VkResult<DisplayModeKHR>
Sourcepub unsafe fn get_display_plane_capabilities(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32,
) -> VkResult<DisplayPlaneCapabilitiesKHR>
pub unsafe fn get_display_plane_capabilities( &self, physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, ) -> VkResult<DisplayPlaneCapabilitiesKHR>
Sourcepub unsafe fn create_display_plane_surface(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> VkResult<SurfaceKHR>
pub unsafe fn create_display_plane_surface( &self, create_info: &DisplaySurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks>, ) -> VkResult<SurfaceKHR>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &KhrDisplayFn
pub fn instance(&self) -> Instance
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Display
impl RefUnwindSafe for Display
impl Send for Display
impl Sync for Display
impl Unpin for Display
impl UnwindSafe for Display
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
)