pub struct EdgeSnapshot {
pub from_label: String,
pub to_label: String,
pub weight: f64,
pub co_activations: u64,
}Expand description
A serializable snapshot of a graph edge.
Fields§
§from_label: String§to_label: String§weight: f64§co_activations: u64Trait Implementations§
Source§impl Clone for EdgeSnapshot
impl Clone for EdgeSnapshot
Source§fn clone(&self) -> EdgeSnapshot
fn clone(&self) -> EdgeSnapshot
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 EdgeSnapshot
impl Debug for EdgeSnapshot
Auto Trait Implementations§
impl Freeze for EdgeSnapshot
impl RefUnwindSafe for EdgeSnapshot
impl Send for EdgeSnapshot
impl Sync for EdgeSnapshot
impl Unpin for EdgeSnapshot
impl UnwindSafe for EdgeSnapshot
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