pub struct LinearScale { /* private fields */ }
Expand description
LinearScale represents axis scale with numerical values.
Implementations§
Trait Implementations§
Source§impl Clone for LinearScale
impl Clone for LinearScale
Source§fn clone(&self) -> LinearScale
fn clone(&self) -> LinearScale
Returns a duplicate 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 Scale<f32> for LinearScale
impl Scale<f32> for LinearScale
Source§fn is_range_reversed(&self) -> bool
fn is_range_reversed(&self) -> bool
Check if scale range is reversed.
Source§fn tick_offset(&self) -> f32
fn tick_offset(&self) -> f32
Get the offset for each tick.
Auto Trait Implementations§
impl Freeze for LinearScale
impl RefUnwindSafe for LinearScale
impl Send for LinearScale
impl Sync for LinearScale
impl Unpin for LinearScale
impl UnwindSafe for LinearScale
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