pub struct ScoredMemory {
pub memory: MemoryNode,
pub score: f32,
}Expand description
A memory with an associated relevance score.
Fields§
§memory: MemoryNode§score: f32Trait Implementations§
Source§impl Clone for ScoredMemory
impl Clone for ScoredMemory
Source§fn clone(&self) -> ScoredMemory
fn clone(&self) -> ScoredMemory
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 moreAuto Trait Implementations§
impl Freeze for ScoredMemory
impl RefUnwindSafe for ScoredMemory
impl Send for ScoredMemory
impl Sync for ScoredMemory
impl Unpin for ScoredMemory
impl UnsafeUnpin for ScoredMemory
impl UnwindSafe for ScoredMemory
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