[][src]Struct vega_lite_3::GraticuleParams

pub struct GraticuleParams {
    pub extent: Option<Vec<Vec<f64>>>,
    pub extent_major: Option<Vec<Vec<f64>>>,
    pub extent_minor: Option<Vec<Vec<f64>>>,
    pub precision: Option<f64>,
    pub step: Option<Vec<f64>>,
    pub step_major: Option<Vec<f64>>,
    pub step_minor: Option<Vec<f64>>,
}

Fields

extent: Option<Vec<Vec<f64>>>

Sets both the major and minor extents to the same values.

extent_major: Option<Vec<Vec<f64>>>

The major extent of the graticule as a two-element array of coordinates.

extent_minor: Option<Vec<Vec<f64>>>

The minor extent of the graticule as a two-element array of coordinates.

precision: Option<f64>

The precision of the graticule in degrees.

Default value: 2.5

step: Option<Vec<f64>>

Sets both the major and minor step angles to the same values.

step_major: Option<Vec<f64>>

The major step angles of the graticule.

Default value: [90, 360]

step_minor: Option<Vec<f64>>

The minor step angles of the graticule.

Default value: [10, 10]

Trait Implementations

impl Clone for GraticuleParams[src]

impl Debug for GraticuleParams[src]

impl Default for GraticuleParams[src]

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

impl From<GraticuleParams> for Graticule[src]

impl Serialize for GraticuleParams[src]

Auto Trait Implementations

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.