#[non_exhaustive]pub enum TissotMethod {
Exact,
Numeric,
Failed,
}Expand description
Whether Tissot values came from exact AD or numeric finite-difference.
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.
Implementations§
Source§impl TissotMethod
impl TissotMethod
Sourcepub fn name(&self) -> &'static str
pub fn name(&self) -> &'static str
The canonical display name of this method ("Exact", "Numeric",
"Failed").
This is the exhaustive choke point for the method’s string form so
downstream crates (which see TissotMethod as #[non_exhaustive])
need not match every variant themselves.
Trait Implementations§
Source§impl Clone for TissotMethod
impl Clone for TissotMethod
Source§fn clone(&self) -> TissotMethod
fn clone(&self) -> TissotMethod
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 TissotMethod
Source§impl Debug for TissotMethod
impl Debug for TissotMethod
impl Eq for TissotMethod
Source§impl PartialEq for TissotMethod
impl PartialEq for TissotMethod
impl StructuralPartialEq for TissotMethod
Auto Trait Implementations§
impl Freeze for TissotMethod
impl RefUnwindSafe for TissotMethod
impl Send for TissotMethod
impl Sync for TissotMethod
impl Unpin for TissotMethod
impl UnsafeUnpin for TissotMethod
impl UnwindSafe for TissotMethod
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