pub struct Display { /* private fields */ }Implementations§
Source§impl Display
impl Display
pub fn new(entry: &Entry, instance: &Instance) -> Display
Sourcepub unsafe fn get_physical_device_display_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<Vec<DisplayPropertiesKHR>, Result>
pub unsafe fn get_physical_device_display_properties( &self, physical_device: PhysicalDevice, ) -> Result<Vec<DisplayPropertiesKHR>, Result>
Sourcepub unsafe fn get_physical_device_display_plane_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<Vec<DisplayPlanePropertiesKHR>, Result>
pub unsafe fn get_physical_device_display_plane_properties( &self, physical_device: PhysicalDevice, ) -> Result<Vec<DisplayPlanePropertiesKHR>, Result>
Sourcepub unsafe fn get_display_plane_supported_displays(
&self,
physical_device: PhysicalDevice,
plane_index: u32,
) -> Result<Vec<DisplayKHR>, Result>
pub unsafe fn get_display_plane_supported_displays( &self, physical_device: PhysicalDevice, plane_index: u32, ) -> Result<Vec<DisplayKHR>, Result>
Sourcepub unsafe fn get_display_mode_properties(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
) -> Result<Vec<DisplayModePropertiesKHR>, Result>
pub unsafe fn get_display_mode_properties( &self, physical_device: PhysicalDevice, display: DisplayKHR, ) -> Result<Vec<DisplayModePropertiesKHR>, Result>
Sourcepub unsafe fn create_display_mode(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> Result<DisplayModeKHR, Result>
pub unsafe fn create_display_mode( &self, physical_device: PhysicalDevice, display: DisplayKHR, create_info: &DisplayModeCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks>, ) -> Result<DisplayModeKHR, Result>
Sourcepub unsafe fn get_display_plane_capabilities(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32,
) -> Result<DisplayPlaneCapabilitiesKHR, Result>
pub unsafe fn get_display_plane_capabilities( &self, physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, ) -> Result<DisplayPlaneCapabilitiesKHR, Result>
Sourcepub unsafe fn create_display_plane_surface(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocation_callbacks: Option<&AllocationCallbacks>,
) -> Result<SurfaceKHR, Result>
pub unsafe fn create_display_plane_surface( &self, create_info: &DisplaySurfaceCreateInfoKHR, allocation_callbacks: Option<&AllocationCallbacks>, ) -> Result<SurfaceKHR, Result>
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§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.