pub struct DisplayModePropertiesKhr { /* private fields */ }Expand description
A VkDisplayModePropertiesKHR.
Implementations§
Source§impl DisplayModePropertiesKhr
impl DisplayModePropertiesKhr
pub fn builder() -> DisplayModePropertiesKhrBuilder
pub unsafe fn from_raw( raw: VkDisplayModePropertiesKHR, ) -> DisplayModePropertiesKhr
pub fn display_mode<'a>(&'a self) -> VkDisplayModeKHR
pub fn parameters<'a>(&'a self) -> &'a DisplayModeParametersKhr
pub fn parameters_mut<'a>(&'a mut self) -> &'a mut DisplayModeParametersKhr
pub fn set_display_mode<'m, H>(&mut self, display_mode: H)where
H: Handle<Target = DisplayModeKhrHandle>,
pub fn set_parameters<'m>(&mut self, parameters: DisplayModeParametersKhr)
pub fn as_raw(&self) -> &VkDisplayModePropertiesKHR
Trait Implementations§
Source§impl Clone for DisplayModePropertiesKhr
impl Clone for DisplayModePropertiesKhr
Source§fn clone(&self) -> DisplayModePropertiesKhr
fn clone(&self) -> DisplayModePropertiesKhr
Returns a duplicate 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 moreSource§impl Debug for DisplayModePropertiesKhr
impl Debug for DisplayModePropertiesKhr
Source§impl Default for DisplayModePropertiesKhr
impl Default for DisplayModePropertiesKhr
Source§fn default() -> DisplayModePropertiesKhr
fn default() -> DisplayModePropertiesKhr
Returns the “default value” for a type. Read more
Source§impl From<DisplayModePropertiesKhr> for VkDisplayModePropertiesKHR
impl From<DisplayModePropertiesKhr> for VkDisplayModePropertiesKHR
Source§fn from(f: DisplayModePropertiesKhr) -> VkDisplayModePropertiesKHR
fn from(f: DisplayModePropertiesKhr) -> VkDisplayModePropertiesKHR
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DisplayModePropertiesKhr
impl RefUnwindSafe for DisplayModePropertiesKhr
impl Send for DisplayModePropertiesKhr
impl Sync for DisplayModePropertiesKhr
impl Unpin for DisplayModePropertiesKhr
impl UnwindSafe for DisplayModePropertiesKhr
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