[−][src]Struct vega_lite_4::GraticuleParamsBuilder
Builder for GraticuleParams
.
Implementations
impl GraticuleParamsBuilder
[src]
pub fn extent<VALUE: Into<Vec<Vec<f64>>>>(&mut self, value: VALUE) -> &mut Self
[src]
Sets both the major and minor extents to the same values.
pub fn extent_major<VALUE: Into<Vec<Vec<f64>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The major extent of the graticule as a two-element array of coordinates.
pub fn extent_minor<VALUE: Into<Vec<Vec<f64>>>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
The minor extent of the graticule as a two-element array of coordinates.
pub fn precision<VALUE: Into<f64>>(&mut self, value: VALUE) -> &mut Self
[src]
The precision of the graticule in degrees.
Default value: 2.5
pub fn step<VALUE: Into<Vec<f64>>>(&mut self, value: VALUE) -> &mut Self
[src]
Sets both the major and minor step angles to the same values.
pub fn step_major<VALUE: Into<Vec<f64>>>(&mut self, value: VALUE) -> &mut Self
[src]
The major step angles of the graticule.
Default value: [90, 360]
pub fn step_minor<VALUE: Into<Vec<f64>>>(&mut self, value: VALUE) -> &mut Self
[src]
The minor step angles of the graticule.
Default value: [10, 10]
pub fn build(&self) -> Result<GraticuleParams, String>
[src]
Trait Implementations
impl Clone for GraticuleParamsBuilder
[src]
pub fn clone(&self) -> GraticuleParamsBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for GraticuleParamsBuilder
[src]
pub fn default() -> GraticuleParamsBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for GraticuleParamsBuilder
[src]
impl Send for GraticuleParamsBuilder
[src]
impl Sync for GraticuleParamsBuilder
[src]
impl Unpin for GraticuleParamsBuilder
[src]
impl UnwindSafe for GraticuleParamsBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,