Struct SystemTelemetry
#[repr(C)]pub struct SystemTelemetry {
pub memory_pressure: f32,
pub network_ripple: f32,
pub baking_crystallization: f32,
pub logic_flashes: f32,
pub llm_heat: f32,
pub quantum_activity: f32,
pub spectral_shift: f32,
pub temporal_pulse: f32,
pub epistemic_density: f32,
pub manifold_pressure: f32,
pub _padding: [f32; 2],
}Expand description
System telemetry for ambient / projector shaders (#[repr(C)], 48 bytes).
Fields§
§memory_pressure: f32§network_ripple: f32§baking_crystallization: f32§logic_flashes: f32§llm_heat: f32§quantum_activity: f32§spectral_shift: f32§temporal_pulse: f32§epistemic_density: f32§manifold_pressure: f32§_padding: [f32; 2]Implementations§
§impl SystemTelemetry
impl SystemTelemetry
pub fn from_samples(samples: &[f32; 11]) -> SystemTelemetry
pub fn from_samples(samples: &[f32; 11]) -> SystemTelemetry
Telemetry from an 11-float sample array.
pub fn to_samples(&self) -> [f32; 11]
pub fn to_samples(&self) -> [f32; 11]
Extracts the 11-float sample array from this telemetry record.
pub fn refresh_from_samples(&mut self, samples: &[f32; 11])
pub fn refresh_from_samples(&mut self, samples: &[f32; 11])
Refreshes from a caller-provided 11-float sample array.
pub fn refresh_from_ledger(&mut self)
pub fn refresh_from_ledger(&mut self)
Refreshes from default baseline samples (caller ledger wrappers may override with live samples).
pub fn apply_floats_with_samples(
&mut self,
base_samples: &[f32; 11],
floats: &[f32],
)
pub fn apply_floats_with_samples( &mut self, base_samples: &[f32; 11], floats: &[f32], )
Applies a float slice on top of base_samples.
pub fn apply_floats(&mut self, floats: &[f32])
pub fn apply_floats(&mut self, floats: &[f32])
Applies a float slice on top of the current telemetry samples.
Trait Implementations§
§impl Clone for SystemTelemetry
impl Clone for SystemTelemetry
§fn clone(&self) -> SystemTelemetry
fn clone(&self) -> SystemTelemetry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SystemTelemetry
§impl Debug for SystemTelemetry
impl Debug for SystemTelemetry
§impl Default for SystemTelemetry
impl Default for SystemTelemetry
§fn default() -> SystemTelemetry
fn default() -> SystemTelemetry
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for SystemTelemetry
impl<'de> Deserialize<'de> for SystemTelemetry
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemTelemetry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SystemTelemetry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Pod for SystemTelemetry
§impl Serialize for SystemTelemetry
impl Serialize for SystemTelemetry
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SystemTelemetry
impl RefUnwindSafe for SystemTelemetry
impl Send for SystemTelemetry
impl Sync for SystemTelemetry
impl Unpin for SystemTelemetry
impl UnsafeUnpin for SystemTelemetry
impl UnwindSafe for SystemTelemetry
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
impl<T> AnyBitPattern for Twhere
T: Pod,
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
§impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
impl<T> CheckedBitPattern for Twhere
T: AnyBitPattern,
§type Bits = T
type Bits = T
Self must have the same layout as the specified Bits except for
the possible invalid bit patterns being checked during
is_valid_bit_pattern.§fn is_valid_bit_pattern(_bits: &T) -> bool
fn is_valid_bit_pattern(_bits: &T) -> bool
If this function returns true, then it must be valid to reinterpret
bits
as &Self.Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
impl<T> Interleave for Twhere
T: Pod,
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 moreimpl<T> NoUninit for Twhere
T: Pod,
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.