pub struct SubstratePrimitive {
pub id: String,
pub name: String,
pub primitive_type: PrimitiveType,
pub consciousness_compatibility: f64,
pub silicon_compatibility: f64,
pub integration_overhead: f64,
pub operations: Vec<PrimitiveOperation>,
pub metadata: AHashMap<String, Value>,
}Expand description
Universal computational primitives that operate across consciousness and silicon
Fields§
§id: String§name: String§primitive_type: PrimitiveType§consciousness_compatibility: f64§silicon_compatibility: f64§integration_overhead: f64§operations: Vec<PrimitiveOperation>§metadata: AHashMap<String, Value>Trait Implementations§
Source§impl Clone for SubstratePrimitive
impl Clone for SubstratePrimitive
Source§fn clone(&self) -> SubstratePrimitive
fn clone(&self) -> SubstratePrimitive
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 moreSource§impl Debug for SubstratePrimitive
impl Debug for SubstratePrimitive
Source§impl<'de> Deserialize<'de> for SubstratePrimitive
impl<'de> Deserialize<'de> for SubstratePrimitive
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SubstratePrimitive
impl RefUnwindSafe for SubstratePrimitive
impl Send for SubstratePrimitive
impl Sync for SubstratePrimitive
impl Unpin for SubstratePrimitive
impl UnsafeUnpin for SubstratePrimitive
impl UnwindSafe for SubstratePrimitive
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