#[repr(transparent)]pub struct QarRenderLoop(pub c_int);Expand description
When a render sender’s application renders its frames.
Tuple Fields§
§0: c_intImplementations§
Source§impl QarRenderLoop
impl QarRenderLoop
Sourcepub const QAR_RENDER_LOOP_REQUEST_DRIVEN: QarRenderLoop
pub const QAR_RENDER_LOOP_REQUEST_DRIVEN: QarRenderLoop
The application renders a frame when the receiver asks: begin-frame waits for the receiver’s render request and renders for the display time it names. The default.
Sourcepub const QAR_RENDER_LOOP_FREE_RUNNING: QarRenderLoop
pub const QAR_RENDER_LOOP_FREE_RUNNING: QarRenderLoop
The application renders from a loop of its own, at its own rate: begin-frame waits only for the receiver to have a destination ready, and the view poses are predicted from the newest head pose for when the frame will be shown. The receiver keeps a destination ready instead of timing one.
Trait Implementations§
Source§impl Clone for QarRenderLoop
impl Clone for QarRenderLoop
impl Copy for QarRenderLoop
Source§impl Debug for QarRenderLoop
impl Debug for QarRenderLoop
impl Eq for QarRenderLoop
Source§impl Hash for QarRenderLoop
impl Hash for QarRenderLoop
Source§impl PartialEq for QarRenderLoop
impl PartialEq for QarRenderLoop
impl StructuralPartialEq for QarRenderLoop
Auto Trait Implementations§
impl Freeze for QarRenderLoop
impl RefUnwindSafe for QarRenderLoop
impl Send for QarRenderLoop
impl Sync for QarRenderLoop
impl Unpin for QarRenderLoop
impl UnsafeUnpin for QarRenderLoop
impl UnwindSafe for QarRenderLoop
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