Struct SceneNode
pub struct SceneNode {
pub id: String,
pub position: ScenePoint,
pub color: String,
pub radius: f64,
pub alpha: f64,
pub is_inferencing: bool,
pub pulse_rate: f64,
pub tensor: Tensor10DProjection,
pub epistemic_state: EpistemicState,
pub version: f64,
pub entity_id: u64,
pub affordance_bits: u8,
}Expand description
A renderable node (vertex) with semantic styling
Fields§
§id: StringUnique identifier for the node (for picking interaction)
position: ScenePointPosition in screen space (x, y normalized 0..1, z for depth)
color: StringCSS color string (e.g., “#ff0000”, “rgb(255,0,0)”)
radius: f64Point radius in screen pixels
alpha: f64Opacity (0.0..1.0)
is_inferencing: boolAnimation state: whether this node is actively inferencing
pulse_rate: f64Pulse rate for visual feedback (Hz, 0.0 = static)
tensor: Tensor10DProjection10D tensor projection for Q42 volumetric data
epistemic_state: EpistemicStateEpistemic state for quantum context management
version: f64Temporal version (t value)
entity_id: u64Entity id for multi-observer view kernel (fnv60 / EntityId raw). 0 = unset.
Serde alias keeps older portal_object_id JSON working.
affordance_bits: u8Affordance bitfield (open/share/enter/edit) from observer rights filter.
Trait Implementations§
§impl<'de> Deserialize<'de> for SceneNode
impl<'de> Deserialize<'de> for SceneNode
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SceneNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SceneNode, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for SceneNode
impl Serialize for SceneNode
§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 SceneNode
impl RefUnwindSafe for SceneNode
impl Send for SceneNode
impl Sync for SceneNode
impl Unpin for SceneNode
impl UnsafeUnpin for SceneNode
impl UnwindSafe for SceneNode
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.
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> 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> ⓘ
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§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.