pub struct ExpertProjection {
pub intent: f32,
pub activation: f32,
pub gate: f32,
}Fields§
§intent: f32Intent classification (0.0 = no intent, 1.0 = strong intent).
activation: f32Current activation level.
gate: f32Gate value (0.0 = closed, 1.0 = open). Controls information flow.
Trait Implementations§
Source§impl Clone for ExpertProjection
impl Clone for ExpertProjection
Source§fn clone(&self) -> ExpertProjection
fn clone(&self) -> ExpertProjection
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 ExpertProjection
impl Debug for ExpertProjection
Source§impl Default for ExpertProjection
impl Default for ExpertProjection
Source§impl Projection for ExpertProjection
impl Projection for ExpertProjection
Source§fn id() -> ProjectionId
fn id() -> ProjectionId
Projection type identifier.
Source§fn read(buf: &[u8]) -> Self
fn read(buf: &[u8]) -> Self
Read projection state from a byte slice.
Panics if
buf.len() < Self::byte_size().Source§fn write(&self, buf: &mut [u8])
fn write(&self, buf: &mut [u8])
Write projection state into a byte slice.
Panics if
buf.len() < Self::byte_size().Source§fn shape_hash_contribution(&self) -> u32
fn shape_hash_contribution(&self) -> u32
Contribution to the atom’s shape hash (FNV-1a input).
impl Copy for ExpertProjection
Auto Trait Implementations§
impl Freeze for ExpertProjection
impl RefUnwindSafe for ExpertProjection
impl Send for ExpertProjection
impl Sync for ExpertProjection
impl Unpin for ExpertProjection
impl UnsafeUnpin for ExpertProjection
impl UnwindSafe for ExpertProjection
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