#[repr(C)]pub struct SetPresentConfigNV {
pub s_type: StructureType,
pub p_next: *const c_void,
pub num_frames_per_batch: u32,
pub present_config_feedback: u32,
}Expand description
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_SET_PRESENT_CONFIG_NV.
p_next: *const c_voidOptional, may be null.
num_frames_per_batch: u32§present_config_feedback: u32Implementations§
Source§impl SetPresentConfigNV
impl SetPresentConfigNV
Sourcepub fn builder<'a>() -> SetPresentConfigNVBuilder<'a>
pub fn builder<'a>() -> SetPresentConfigNVBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for SetPresentConfigNV
impl Clone for SetPresentConfigNV
Source§fn clone(&self) -> SetPresentConfigNV
fn clone(&self) -> SetPresentConfigNV
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 SetPresentConfigNV
impl Debug for SetPresentConfigNV
Source§impl Default for SetPresentConfigNV
impl Default for SetPresentConfigNV
Source§fn default() -> SetPresentConfigNV
fn default() -> SetPresentConfigNV
Returns the “default value” for a type. Read more
impl Copy for SetPresentConfigNV
impl ExtendsPresentInfoKHR for SetPresentConfigNV
Auto Trait Implementations§
impl Freeze for SetPresentConfigNV
impl RefUnwindSafe for SetPresentConfigNV
impl !Send for SetPresentConfigNV
impl !Sync for SetPresentConfigNV
impl Unpin for SetPresentConfigNV
impl UnsafeUnpin for SetPresentConfigNV
impl UnwindSafe for SetPresentConfigNV
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