#[repr(C)]pub struct AntiLagDataAMD {
pub s_type: StructureType,
pub p_next: *const c_void,
pub mode: AntiLagModeAMD,
pub max_fps: u32,
pub p_presentation_info: *const AntiLagPresentationInfoAMD,
}Expand description
VkAntiLagDataAMD
Provided by VK_AMD_anti_lag.
Fields§
§s_type: StructureTypeMust be VK_STRUCTURE_TYPE_ANTI_LAG_DATA_AMD.
p_next: *const c_voidOptional, may be null.
mode: AntiLagModeAMD§max_fps: u32§p_presentation_info: *const AntiLagPresentationInfoAMDOptional, may be null.
Implementations§
Source§impl AntiLagDataAMD
impl AntiLagDataAMD
Sourcepub fn builder<'a>() -> AntiLagDataAMDBuilder<'a>
pub fn builder<'a>() -> AntiLagDataAMDBuilder<'a>
Start building this struct; s_type is already set to the correct variant.
Trait Implementations§
Source§impl Clone for AntiLagDataAMD
impl Clone for AntiLagDataAMD
Source§fn clone(&self) -> AntiLagDataAMD
fn clone(&self) -> AntiLagDataAMD
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 AntiLagDataAMD
impl Debug for AntiLagDataAMD
Source§impl Default for AntiLagDataAMD
impl Default for AntiLagDataAMD
impl Copy for AntiLagDataAMD
Auto Trait Implementations§
impl Freeze for AntiLagDataAMD
impl RefUnwindSafe for AntiLagDataAMD
impl !Send for AntiLagDataAMD
impl !Sync for AntiLagDataAMD
impl Unpin for AntiLagDataAMD
impl UnsafeUnpin for AntiLagDataAMD
impl UnwindSafe for AntiLagDataAMD
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