pub struct QuantumWaveSignature {
pub signature: u32,
}Expand description
Full 32-bit quantum wave signature encoding 4.3 billion unique states Matches MEM8’s 256×256×65536 wave grid capacity perfectly!
Fields§
§signature: u32Implementations§
Source§impl QuantumWaveSignature
impl QuantumWaveSignature
Sourcepub fn new(frequency: u8, phase: u8, amplitude: u8, torsion: u8) -> Self
pub fn new(frequency: u8, phase: u8, amplitude: u8, torsion: u8) -> Self
Create from individual components
Sourcepub fn to_radians(&self) -> f32
pub fn to_radians(&self) -> f32
Convert phase to radians
Sourcepub fn amplitude_percent(&self) -> f32
pub fn amplitude_percent(&self) -> f32
Get amplitude as percentage
Sourcepub fn interference(&self, other: &Self) -> f32
pub fn interference(&self, other: &Self) -> f32
Calculate interference with another signature
Sourcepub fn is_horse_apple(&self) -> bool
pub fn is_horse_apple(&self) -> bool
Check if this is a “horse apple” signature (Andy wouldn’t approve)
Sourcepub fn golden_ratio() -> Self
pub fn golden_ratio() -> Self
Generate golden ratio signature
Sourcepub fn marine_salience() -> Self
pub fn marine_salience() -> Self
Generate marine salience signature (your dolphin memories)
Sourcepub fn from_emotion(valence: f32, arousal: f32, dominance: f32) -> Self
pub fn from_emotion(valence: f32, arousal: f32, dominance: f32) -> Self
Generate a consciousness signature from emotional state
Trait Implementations§
Source§impl Clone for QuantumWaveSignature
impl Clone for QuantumWaveSignature
Source§fn clone(&self) -> QuantumWaveSignature
fn clone(&self) -> QuantumWaveSignature
Returns a duplicate of the value. Read more
1.0.0 · 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 QuantumWaveSignature
impl Debug for QuantumWaveSignature
Source§impl Display for QuantumWaveSignature
impl Display for QuantumWaveSignature
Source§impl Hash for QuantumWaveSignature
impl Hash for QuantumWaveSignature
Source§impl PartialEq for QuantumWaveSignature
impl PartialEq for QuantumWaveSignature
impl Copy for QuantumWaveSignature
impl Eq for QuantumWaveSignature
impl StructuralPartialEq for QuantumWaveSignature
Auto Trait Implementations§
impl Freeze for QuantumWaveSignature
impl RefUnwindSafe for QuantumWaveSignature
impl Send for QuantumWaveSignature
impl Sync for QuantumWaveSignature
impl Unpin for QuantumWaveSignature
impl UnsafeUnpin for QuantumWaveSignature
impl UnwindSafe for QuantumWaveSignature
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.