#[repr(C)]pub struct DisplayModeParametersKHR {
pub visible_region: Extent2D,
pub refresh_rate: u32,
}Expand description
Native structure VkDisplayModeParametersKHR.
Fields§
§visible_region: Extent2DNative field visibleRegion.
refresh_rate: u32Native field refreshRate.
Implementations§
Source§impl DisplayModeParametersKHR
impl DisplayModeParametersKHR
Sourcepub fn set_visible_region(self, value: Extent2D) -> Self
pub fn set_visible_region(self, value: Extent2D) -> Self
Set native field visibleRegion without native effects.
Sourcepub fn set_refresh_rate(self, value: u32) -> Self
pub fn set_refresh_rate(self, value: u32) -> Self
Set native field refreshRate without native effects.
Trait Implementations§
Source§impl Clone for DisplayModeParametersKHR
impl Clone for DisplayModeParametersKHR
impl Copy for DisplayModeParametersKHR
Auto Trait Implementations§
impl Forget for DisplayModeParametersKHR
impl Freeze for DisplayModeParametersKHR
impl Move for DisplayModeParametersKHR
impl RefUnwindSafe for DisplayModeParametersKHR
impl Send for DisplayModeParametersKHR
impl Sync for DisplayModeParametersKHR
impl Unpin for DisplayModeParametersKHR
impl UnsafeUnpin for DisplayModeParametersKHR
impl UnwindSafe for DisplayModeParametersKHR
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