pub struct SemanticSeededNeighborhoodOptions {
pub depth: usize,
pub limit: usize,
pub edge_scan_cap: usize,
pub node_discovery_cap: usize,
}Fields§
§depth: usize§limit: usize§edge_scan_cap: usize§node_discovery_cap: usizeImplementations§
Source§impl SemanticSeededNeighborhoodOptions
impl SemanticSeededNeighborhoodOptions
pub fn new(depth: usize, limit: usize) -> SemanticSeededNeighborhoodOptions
pub fn with_edge_scan_cap(self, cap: usize) -> SemanticSeededNeighborhoodOptions
pub fn with_node_discovery_cap( self, cap: usize, ) -> SemanticSeededNeighborhoodOptions
Trait Implementations§
Source§impl Clone for SemanticSeededNeighborhoodOptions
impl Clone for SemanticSeededNeighborhoodOptions
Source§fn clone(&self) -> SemanticSeededNeighborhoodOptions
fn clone(&self) -> SemanticSeededNeighborhoodOptions
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<'de> Deserialize<'de> for SemanticSeededNeighborhoodOptions
impl<'de> Deserialize<'de> for SemanticSeededNeighborhoodOptions
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticSeededNeighborhoodOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SemanticSeededNeighborhoodOptions, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SemanticSeededNeighborhoodOptions
Source§impl PartialEq for SemanticSeededNeighborhoodOptions
impl PartialEq for SemanticSeededNeighborhoodOptions
Source§fn eq(&self, other: &SemanticSeededNeighborhoodOptions) -> bool
fn eq(&self, other: &SemanticSeededNeighborhoodOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticSeededNeighborhoodOptions
impl Serialize for SemanticSeededNeighborhoodOptions
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SemanticSeededNeighborhoodOptions
Auto Trait Implementations§
impl Freeze for SemanticSeededNeighborhoodOptions
impl RefUnwindSafe for SemanticSeededNeighborhoodOptions
impl Send for SemanticSeededNeighborhoodOptions
impl Sync for SemanticSeededNeighborhoodOptions
impl Unpin for SemanticSeededNeighborhoodOptions
impl UnsafeUnpin for SemanticSeededNeighborhoodOptions
impl UnwindSafe for SemanticSeededNeighborhoodOptions
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