pub struct GuardSearch { /* private fields */ }Expand description
How far to look for candidates, and how finely to sample an edge.
Measurement inputs, not thresholds: these bound the search, they do not judge what is found.
Implementations§
Source§impl GuardSearch
impl GuardSearch
pub fn try_new( candidate_radius_metres: f64, sample_spacing_metres: f64, ) -> Result<Self, GuardError>
pub fn candidate_radius_metres(&self) -> f64
pub fn sample_spacing_metres(&self) -> f64
Trait Implementations§
Source§impl Clone for GuardSearch
impl Clone for GuardSearch
Source§fn clone(&self) -> GuardSearch
fn clone(&self) -> GuardSearch
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 GuardSearch
Source§impl Debug for GuardSearch
impl Debug for GuardSearch
Source§impl PartialEq for GuardSearch
impl PartialEq for GuardSearch
impl StructuralPartialEq for GuardSearch
Auto Trait Implementations§
impl Freeze for GuardSearch
impl RefUnwindSafe for GuardSearch
impl Send for GuardSearch
impl Sync for GuardSearch
impl Unpin for GuardSearch
impl UnsafeUnpin for GuardSearch
impl UnwindSafe for GuardSearch
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