pub struct EdgeMemory {
pub visits: usize,
pub novel: usize,
pub signatures: BTreeSet<String>,
}Expand description
What one directed edge has taught the harness.
Fields§
§visits: usize§novel: usizeVisits that added at least one signature.
signatures: BTreeSet<String>Trait Implementations§
Source§impl Clone for EdgeMemory
impl Clone for EdgeMemory
Source§fn clone(&self) -> EdgeMemory
fn clone(&self) -> EdgeMemory
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 EdgeMemory
impl Debug for EdgeMemory
Source§impl Default for EdgeMemory
impl Default for EdgeMemory
Source§fn default() -> EdgeMemory
fn default() -> EdgeMemory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EdgeMemory
impl<'de> Deserialize<'de> for EdgeMemory
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 EdgeMemory
impl RefUnwindSafe for EdgeMemory
impl Send for EdgeMemory
impl Sync for EdgeMemory
impl Unpin for EdgeMemory
impl UnsafeUnpin for EdgeMemory
impl UnwindSafe for EdgeMemory
Blanket Implementations§
impl<T> Allocation for T
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