Struct ash::vk::definitions::DisplayModePropertiesKHR
source · #[repr(C)]pub struct DisplayModePropertiesKHR {
pub display_mode: DisplayModeKHR,
pub parameters: DisplayModeParametersKHR,
}
Expand description
Fields§
§display_mode: DisplayModeKHR
§parameters: DisplayModeParametersKHR
Implementations§
source§impl DisplayModePropertiesKHR
impl DisplayModePropertiesKHR
pub fn display_mode(self, display_mode: DisplayModeKHR) -> Self
pub fn parameters(self, parameters: DisplayModeParametersKHR) -> Self
Trait Implementations§
source§impl Clone for DisplayModePropertiesKHR
impl Clone for DisplayModePropertiesKHR
source§fn clone(&self) -> DisplayModePropertiesKHR
fn clone(&self) -> DisplayModePropertiesKHR
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 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
impl Copy for DisplayModePropertiesKHR
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
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
)