#[repr(C)]pub struct UsacParams {Show 13 fields
pub confidence: f64,
pub is_parallel: bool,
pub lo_iterations: i32,
pub lo_method: LocalOptimMethod,
pub lo_sample_size: i32,
pub max_iterations: i32,
pub neighbors_search: NeighborSearchMethod,
pub random_generator_state: i32,
pub sampler: SamplingMethod,
pub score: ScoreMethod,
pub threshold: f64,
pub final_polisher: PolishingMethod,
pub final_polisher_iterations: i32,
}Fields§
§confidence: f64§is_parallel: bool§lo_iterations: i32§lo_method: LocalOptimMethod§lo_sample_size: i32§max_iterations: i32§neighbors_search: NeighborSearchMethod§random_generator_state: i32§sampler: SamplingMethod§score: ScoreMethod§threshold: f64§final_polisher: PolishingMethod§final_polisher_iterations: i32Implementations§
Source§impl UsacParams
impl UsacParams
pub fn default() -> Result<UsacParams>
Trait Implementations§
Source§impl Clone for UsacParams
impl Clone for UsacParams
Source§fn clone(&self) -> UsacParams
fn clone(&self) -> UsacParams
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 moreimpl Copy for UsacParams
Source§impl Debug for UsacParams
impl Debug for UsacParams
Source§impl PartialEq for UsacParams
impl PartialEq for UsacParams
Source§fn eq(&self, other: &UsacParams) -> bool
fn eq(&self, other: &UsacParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UsacParams
Auto Trait Implementations§
impl Freeze for UsacParams
impl RefUnwindSafe for UsacParams
impl Send for UsacParams
impl Sync for UsacParams
impl Unpin for UsacParams
impl UnsafeUnpin for UsacParams
impl UnwindSafe for UsacParams
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