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: StructureTypenext: *mut c_voidpredicted_display_time: Timepredicted_display_period: Durationshould_render: Bool32Implementations
sourceimpl 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
sourceimpl Clone for FrameState
impl Clone for FrameState
sourcefn clone(&self) -> FrameState
fn clone(&self) -> FrameState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more