Struct openxr_sys::FrameState
source · #[repr(C)]pub struct FrameState {
pub ty: StructureType,
pub next: *mut c_void,
pub predicted_display_time: Time,
pub predicted_display_period: Duration,
pub should_render: Bool32,
}
Expand description
See XrFrameState
Fields§
§ty: StructureType
§next: *mut c_void
§predicted_display_time: Time
§predicted_display_period: Duration
§should_render: Bool32
Implementations§
source§impl FrameState
impl FrameState
pub const TYPE: StructureType = StructureType::FRAME_STATE
sourcepub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
pub fn out(next: *mut BaseOutStructure) -> MaybeUninit<Self>
Construct a partially-initialized value suitable for passing to OpenXR
Trait Implementations§
source§impl Clone for FrameState
impl Clone for FrameState
source§fn clone(&self) -> FrameState
fn clone(&self) -> FrameState
Returns a copy 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 FrameState
impl Debug for FrameState
impl Copy for FrameState
Auto Trait Implementations§
impl RefUnwindSafe for FrameState
impl !Send for FrameState
impl !Sync for FrameState
impl Unpin for FrameState
impl UnwindSafe for FrameState
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