pub struct PhaseStatus;Trait Implementations§
Source§impl Readout for PhaseStatus
impl Readout for PhaseStatus
Source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Stable, lower-snake-case identifier. Workloads
reference readouts by this name.
Source§fn accepts(&self) -> &'static [SubjectKind]
fn accepts(&self) -> &'static [SubjectKind]
Subject kinds this readout is willing to render
against. The binder validates at bake-time that
every event slot’s subject kind is in this list,
so a workload binding
phase_outcome to
on_session_end fails loudly rather than rendering
silent zeros. Required: every readout declares
what kinds it works against. No default — silent
fallback to [Phase] would defeat the safety net
the validation layer is built on.Source§fn render(
&self,
ctx: &dyn ReadoutContext,
lod: Lod,
mode: ContentMode,
_opts: &ReadoutOptions,
out: &mut dyn ReadoutBuf,
) -> usize
fn render( &self, ctx: &dyn ReadoutContext, lod: Lod, mode: ContentMode, _opts: &ReadoutOptions, out: &mut dyn ReadoutBuf, ) -> usize
Render this readout at the given LOD and content
mode, drawing data from
ctx, writing into out.
Returns the rendered byte width so the caller can do
alignment without a second measurement pass. Read moreAuto Trait Implementations§
impl Freeze for PhaseStatus
impl RefUnwindSafe for PhaseStatus
impl Send for PhaseStatus
impl Sync for PhaseStatus
impl Unpin for PhaseStatus
impl UnsafeUnpin for PhaseStatus
impl UnwindSafe for PhaseStatus
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more