[][src]Struct mercator_db::space::Graduation

pub struct Graduation {
    pub set: NumberSet,
    pub minimum: f64,
    pub maximum: f64,
    pub steps: u64,
    pub epsilon: f64,
}

Definition of a fixed-precision, finite length axis.

Fields

set: NumberSet

Set of numbers allowed on the axis.

minimum: f64

Minimum value inclusive.

maximum: f64

Maximum value inclusive.

steps: u64

Number of ticks or discrete values between minimum and maximum.

epsilon: f64

Length between two distinct ticks on the axis.

Trait Implementations

impl Clone for Graduation[src]

impl Debug for Graduation[src]

impl<'de> Deserialize<'de> for Graduation[src]

impl<'_> From<&'_ Graduation> for Graduation[src]

impl PartialEq<Graduation> for Graduation[src]

impl Serialize for Graduation[src]

impl StructuralPartialEq for Graduation[src]

Auto Trait Implementations

impl RefUnwindSafe for Graduation

impl Send for Graduation

impl Sync for Graduation

impl Unpin for Graduation

impl UnwindSafe for Graduation

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.