pub struct ScaleTicks { /* private fields */ }
Implementations§
§impl ScaleTicks
impl ScaleTicks
pub fn new() -> Self
pub fn get_auto_skip(&mut self) -> &mut Option<bool>
pub fn auto_skip(self, value: impl Into<bool>) -> ScaleTicks
pub fn get_align(&mut self) -> &mut String
pub fn align(self, value: impl Into<String>) -> ScaleTicks
pub fn get_callback(&mut self) -> &mut FnWithArgs<3>
pub fn callback(self, value: FnWithArgs<3>) -> ScaleTicks
pub fn get_count(&mut self) -> &mut NumberString
pub fn count(self, value: impl Into<NumberString>) -> ScaleTicks
pub fn get_font(&mut self) -> &mut Option<Font>
pub fn font(self, value: impl Into<Font>) -> ScaleTicks
pub fn get_include_bounds(&mut self) -> &mut Option<bool>
pub fn include_bounds(self, value: impl Into<bool>) -> ScaleTicks
pub fn get_max_ticks_limit(&mut self) -> &mut NumberString
pub fn max_ticks_limit(self, value: impl Into<NumberString>) -> ScaleTicks
pub fn get_padding(&mut self) -> &mut Option<Padding>
pub fn padding(self, value: impl Into<Padding>) -> ScaleTicks
pub fn get_precision(&mut self) -> &mut NumberString
pub fn precision(self, value: impl Into<NumberString>) -> ScaleTicks
pub fn get_step_size(&mut self) -> &mut NumberString
pub fn step_size(self, value: impl Into<NumberString>) -> ScaleTicks
Trait Implementations§
source§impl Clone for ScaleTicks
impl Clone for ScaleTicks
source§fn clone(&self) -> ScaleTicks
fn clone(&self) -> ScaleTicks
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScaleTicks
impl Debug for ScaleTicks
source§impl Default for ScaleTicks
impl Default for ScaleTicks
source§fn default() -> ScaleTicks
fn default() -> ScaleTicks
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScaleTicks
impl<'de> Deserialize<'de> for ScaleTicks
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for ScaleTicks
impl Ord for ScaleTicks
source§fn cmp(&self, other: &ScaleTicks) -> Ordering
fn cmp(&self, other: &ScaleTicks) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ScaleTicks
impl PartialEq for ScaleTicks
source§impl PartialOrd for ScaleTicks
impl PartialOrd for ScaleTicks
source§impl Serialize for ScaleTicks
impl Serialize for ScaleTicks
impl Eq for ScaleTicks
impl StructuralPartialEq for ScaleTicks
Auto Trait Implementations§
impl Freeze for ScaleTicks
impl RefUnwindSafe for ScaleTicks
impl Send for ScaleTicks
impl Sync for ScaleTicks
impl Unpin for ScaleTicks
impl UnwindSafe for ScaleTicks
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)