#[non_exhaustive]pub enum ScaleSearch {
Never,
IfUnknown,
AlsoIfWrong,
}Expand description
When the catalogue search tries other pixel scales.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Never
Never: an unknown scale is taken to be 1″/px, as before 0.6.
IfUnknown
When neither a field of view nor header optics give the scale (ASTAP’s
-fov 0 with no FOCALLEN/XPIXSZ): a ladder of scales round 1″/px, then the
usual search at 1″/px. The default.
AlsoIfWrong
As Self::IfUnknown, and also when a solve at a known scale finds
nothing: a ladder from a quarter to four times that scale (the CLI’s
--fov-search). Off by default, so a correctly configured solve that fails
costs no more than it did.
Trait Implementations§
Source§impl Clone for ScaleSearch
impl Clone for ScaleSearch
impl Copy for ScaleSearch
Source§impl Debug for ScaleSearch
impl Debug for ScaleSearch
Source§impl Default for ScaleSearch
impl Default for ScaleSearch
impl Eq for ScaleSearch
Source§impl PartialEq for ScaleSearch
impl PartialEq for ScaleSearch
impl StructuralPartialEq for ScaleSearch
Auto Trait Implementations§
impl Freeze for ScaleSearch
impl RefUnwindSafe for ScaleSearch
impl Send for ScaleSearch
impl Sync for ScaleSearch
impl Unpin for ScaleSearch
impl UnsafeUnpin for ScaleSearch
impl UnwindSafe for ScaleSearch
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