pub struct InsertStats {
pub node_id: u32,
pub level: usize,
pub connected_neighbors: usize,
}Expand description
挿入コールバックで通知する統計。
Fields§
§node_id: u32Assigned node identifier.
level: usizeLevel at which the node was inserted.
connected_neighbors: usizeNumber of neighbors connected during insertion.
Trait Implementations§
Source§impl Clone for InsertStats
impl Clone for InsertStats
Source§fn clone(&self) -> InsertStats
fn clone(&self) -> InsertStats
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 InsertStats
impl Debug for InsertStats
Source§impl<'de> Deserialize<'de> for InsertStats
impl<'de> Deserialize<'de> for InsertStats
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 InsertStats
impl RefUnwindSafe for InsertStats
impl Send for InsertStats
impl Sync for InsertStats
impl Unpin for InsertStats
impl UnsafeUnpin for InsertStats
impl UnwindSafe for InsertStats
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