pub struct DistanceBoundResult<Options = RandomizedUpperBoundOptions> {
pub status: DistanceBoundStatus,
pub method: DistanceBoundMethod,
pub bound_type: BoundType,
pub upper_bound: usize,
pub logical_class: LogicalClass,
pub witness: DistanceBoundWitness,
pub options: Options,
pub provenance: DistanceBoundProvenance,
pub search_stats: Option<RandomWindowSearchStats>,
}Fields§
§status: DistanceBoundStatus§method: DistanceBoundMethod§bound_type: BoundType§upper_bound: usize§logical_class: LogicalClass§witness: DistanceBoundWitness§options: Options§provenance: DistanceBoundProvenance§search_stats: Option<RandomWindowSearchStats>Implementations§
Source§impl DistanceBoundResult<RandomizedUpperBoundOptions>
impl DistanceBoundResult<RandomizedUpperBoundOptions>
pub fn completed( upper_bound: usize, logical_class: LogicalClass, witness: DistanceBoundWitness, options: RandomizedUpperBoundOptions, ) -> Self
Source§impl DistanceBoundResult<RandomWindowUpperBoundOptions>
impl DistanceBoundResult<RandomWindowUpperBoundOptions>
pub fn completed_random_window_upper_bound( upper_bound: usize, logical_class: LogicalClass, witness: DistanceBoundWitness, options: RandomWindowUpperBoundOptions, ) -> Self
Trait Implementations§
Source§impl<Options: Clone> Clone for DistanceBoundResult<Options>
impl<Options: Clone> Clone for DistanceBoundResult<Options>
Source§fn clone(&self) -> DistanceBoundResult<Options>
fn clone(&self) -> DistanceBoundResult<Options>
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<Options: Debug> Debug for DistanceBoundResult<Options>
impl<Options: Debug> Debug for DistanceBoundResult<Options>
Source§impl<'de, Options> Deserialize<'de> for DistanceBoundResult<Options>where
Options: Deserialize<'de>,
impl<'de, Options> Deserialize<'de> for DistanceBoundResult<Options>where
Options: Deserialize<'de>,
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
impl<Options: Eq> Eq for DistanceBoundResult<Options>
Source§impl<Options: PartialEq> PartialEq for DistanceBoundResult<Options>
impl<Options: PartialEq> PartialEq for DistanceBoundResult<Options>
Source§impl<Options> Serialize for DistanceBoundResult<Options>where
Options: Serialize,
impl<Options> Serialize for DistanceBoundResult<Options>where
Options: Serialize,
impl<Options: PartialEq> StructuralPartialEq for DistanceBoundResult<Options>
Auto Trait Implementations§
impl<Options> Freeze for DistanceBoundResult<Options>where
Options: Freeze,
impl<Options> RefUnwindSafe for DistanceBoundResult<Options>where
Options: RefUnwindSafe,
impl<Options> Send for DistanceBoundResult<Options>where
Options: Send,
impl<Options> Sync for DistanceBoundResult<Options>where
Options: Sync,
impl<Options> Unpin for DistanceBoundResult<Options>where
Options: Unpin,
impl<Options> UnsafeUnpin for DistanceBoundResult<Options>where
Options: UnsafeUnpin,
impl<Options> UnwindSafe for DistanceBoundResult<Options>where
Options: UnwindSafe,
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