#[repr(C)]pub struct DisplayModeParametersKHR {
pub visible_region: Extent2D,
pub refresh_rate: u32,
}Expand description
Fields§
§visible_region: Extent2D§refresh_rate: u32Implementations§
Source§impl DisplayModeParametersKHR
impl DisplayModeParametersKHR
pub fn visible_region(self, value: Extent2D) -> Self
pub fn refresh_rate(self, value: u32) -> Self
Trait Implementations§
Source§impl Clone for DisplayModeParametersKHR
impl Clone for DisplayModeParametersKHR
Source§fn clone(&self) -> DisplayModeParametersKHR
fn clone(&self) -> DisplayModeParametersKHR
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 Default for DisplayModeParametersKHR
Available on crate feature ext_display only.
impl Default for DisplayModeParametersKHR
Available on crate feature
ext_display only.impl Copy for DisplayModeParametersKHR
impl Send for DisplayModeParametersKHR
Available on crate feature
ext_display only.impl Sync for DisplayModeParametersKHR
Available on crate feature
ext_display only.Auto Trait Implementations§
impl Freeze for DisplayModeParametersKHR
impl RefUnwindSafe for DisplayModeParametersKHR
impl Unpin 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