Struct ash::vk::DisplayModeParametersKHRBuilder
source · pub struct DisplayModeParametersKHRBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> DisplayModeParametersKHRBuilder<'a>
impl<'a> DisplayModeParametersKHRBuilder<'a>
pub fn visible_region(self, visible_region: Extent2D) -> Self
pub fn refresh_rate(self, refresh_rate: u32) -> Self
sourcepub fn build(self) -> DisplayModeParametersKHR
pub fn build(self) -> DisplayModeParametersKHR
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
source§impl<'a> Deref for DisplayModeParametersKHRBuilder<'a>
impl<'a> Deref for DisplayModeParametersKHRBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for DisplayModeParametersKHRBuilder<'a>
impl<'a> RefUnwindSafe for DisplayModeParametersKHRBuilder<'a>
impl<'a> Send for DisplayModeParametersKHRBuilder<'a>
impl<'a> Sync for DisplayModeParametersKHRBuilder<'a>
impl<'a> Unpin for DisplayModeParametersKHRBuilder<'a>
impl<'a> UnwindSafe for DisplayModeParametersKHRBuilder<'a>
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