pub struct SystemPercept {
pub system_id: String,
pub level: WellbeingLevel,
pub sigma: f32,
pub rgba: [f32; 4],
pub frequency_hz: f32,
}Expand description
The dual-modality percept for one body system (S5.1 colour-by-load). The accumulated burden is
encoded once to σ — a position on the shared EMF spectrum — and σ then drives both the visual
spectrum (rgba) and the sonic spectrum (frequency_hz) via the engine’s parity oracles. So an
organ under strain is redder and lower-pitched: the 3D body can be seen and heard from one
source of truth, rather than a hand-picked swatch that would discard the audio path.
Fields§
§system_id: String§level: WellbeingLevelThe coarse person-facing band (never a number to the person).
sigma: f32σ — the EMF spectrum position (0..1 over 400–700 nm) this burden encodes to. The one truth.
rgba: [f32; 4]Visual encoding: normalized linear RGBA from render::spectral, ready for upload_mesh_colored.
frequency_hz: f32Sonic encoding: centre frequency (Hz) from render::acoustic — settled/green higher, strain/red lower.
Trait Implementations§
Source§impl Clone for SystemPercept
impl Clone for SystemPercept
Source§fn clone(&self) -> SystemPercept
fn clone(&self) -> SystemPercept
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SystemPercept
impl Debug for SystemPercept
Source§impl<'de> Deserialize<'de> for SystemPercept
impl<'de> Deserialize<'de> for SystemPercept
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for SystemPercept
impl PartialEq for SystemPercept
Source§fn eq(&self, other: &SystemPercept) -> bool
fn eq(&self, other: &SystemPercept) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SystemPercept
impl Serialize for SystemPercept
impl StructuralPartialEq for SystemPercept
Auto Trait Implementations§
impl Freeze for SystemPercept
impl RefUnwindSafe for SystemPercept
impl Send for SystemPercept
impl Sync for SystemPercept
impl Unpin for SystemPercept
impl UnsafeUnpin for SystemPercept
impl UnwindSafe for SystemPercept
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>,
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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