pub struct ShowcaseAdaptiveSyncKey { /* private fields */ }Expand description
Zero-allocation stack snapshot of adaptive renderer telemetry used to skip redundant signal/string updates when unchanged.
Implementations§
Source§impl ShowcaseAdaptiveSyncKey
Zero-allocation adaptive telemetry digest builders for ShowcaseAdaptiveSyncKey.
impl ShowcaseAdaptiveSyncKey
Zero-allocation adaptive telemetry digest builders for ShowcaseAdaptiveSyncKey.
Sourcepub fn capture_app(app: &App, auto_switch: bool) -> Self
pub fn capture_app(app: &App, auto_switch: bool) -> Self
Sourcepub fn capture_web(
app: &App,
auto_switch: bool,
coord: &ShowcaseWebDualCanvasCoordinator,
) -> Self
pub fn capture_web( app: &App, auto_switch: bool, coord: &ShowcaseWebDualCanvasCoordinator, ) -> Self
Captures a stack-only telemetry digest combining app and the Web dual-canvas coordinator.
§Arguments
&App- Active WebAssembly showcase application.bool- Active/settingsadaptive auto-switch preference.&ShowcaseWebDualCanvasCoordinator- Active dual-canvas coordinator snapshot.
§Returns
Self- Comparable stack telemetry snapshot.
Source§impl ShowcaseAdaptiveSyncKey
impl ShowcaseAdaptiveSyncKey
pub fn get_auto_switch(&self) -> bool
pub fn get_active_backend(&self) -> GraphicsBackend
pub fn get_active_candidate(&self) -> RenderBackendCandidate
pub fn get_recommended_candidate(&self) -> RenderBackendCandidate
pub fn get_cpu_mirror_active(&self) -> bool
pub fn get_timing_source(&self) -> PresentTimingSource
pub fn get_upload_strategy(&self) -> UploadStrategy
pub fn get_handoff_successes(&self) -> u64
pub fn get_handoff_aborts(&self) -> u64
pub fn get_web_path(&self) -> ShowcaseWebPresentationPath
pub fn get_web_timing(&self) -> ShowcaseWebTimingSource
pub fn get_web_cpu_mirror(&self) -> bool
pub fn get_web_completed_swaps(&self) -> u64
pub fn get_web_aborted_swaps(&self) -> u64
Trait Implementations§
Source§impl Clone for ShowcaseAdaptiveSyncKey
impl Clone for ShowcaseAdaptiveSyncKey
impl Copy for ShowcaseAdaptiveSyncKey
Source§impl Debug for ShowcaseAdaptiveSyncKey
impl Debug for ShowcaseAdaptiveSyncKey
impl Eq for ShowcaseAdaptiveSyncKey
Source§impl PartialEq for ShowcaseAdaptiveSyncKey
impl PartialEq for ShowcaseAdaptiveSyncKey
impl StructuralPartialEq for ShowcaseAdaptiveSyncKey
Auto Trait Implementations§
impl Forget for ShowcaseAdaptiveSyncKey
impl Freeze for ShowcaseAdaptiveSyncKey
impl Move for ShowcaseAdaptiveSyncKey
impl RefUnwindSafe for ShowcaseAdaptiveSyncKey
impl Send for ShowcaseAdaptiveSyncKey
impl Sync for ShowcaseAdaptiveSyncKey
impl Unpin for ShowcaseAdaptiveSyncKey
impl UnsafeUnpin for ShowcaseAdaptiveSyncKey
impl UnwindSafe for ShowcaseAdaptiveSyncKey
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.