pub struct LogRange<V>(pub Range<V>)
where
    V: LogScalable;
👎Deprecated: LogRange is deprecated, use IntoLogRange trait method instead
Expand description

The logarithmic coodinate decorator. This decorator is used to make the axis rendered as logarithmically.

Tuple Fields§

§0: Range<V>
👎Deprecated: LogRange is deprecated, use IntoLogRange trait method instead

Trait Implementations§

source§

impl<V> AsRangedCoord for LogRange<V>
where V: LogScalable,

§

type CoordDescType = LogCoord<V>

Type to describe a coordinate system
§

type Value = V

Type for values in the given coordinate system
source§

impl<V> Clone for LogRange<V>
where V: Clone + LogScalable,

source§

fn clone(&self) -> LogRange<V>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<V> From<LogRange<V>> for LogCoord<V>
where V: LogScalable,

source§

fn from(range: LogRange<V>) -> LogCoord<V>

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<V> RefUnwindSafe for LogRange<V>
where V: RefUnwindSafe,

§

impl<V> Send for LogRange<V>
where V: Send,

§

impl<V> Sync for LogRange<V>
where V: Sync,

§

impl<V> Unpin for LogRange<V>
where V: Unpin,

§

impl<V> UnwindSafe for LogRange<V>
where V: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> BindKeyPointMethod for T
where T: AsRangedCoord,

source§

fn with_key_point_func<F>( self, func: F ) -> WithKeyPointMethod<Self::CoordDescType>
where F: Fn(usize) -> Vec<Self::Value> + 'static,

Bind a existing coordinate spec with a given key points algorithm. See WithKeyPointMethod for more details. Example: Read more
source§

impl<T> BindKeyPoints for T
where T: AsRangedCoord,

source§

fn with_key_points( self, points: Vec<Self::Value> ) -> WithKeyPoints<Self::CoordDescType>

Bind a existing coordinate spec with a given key points vector. See WithKeyPoints for more details. Example: Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoLinspace for T
where T: AsRangedCoord,

source§

fn step<S>(self, val: S) -> Linspace<Self::CoordDescType, S, Exact<Self::Value>>
where S: Clone, Self::Value: Add<S, Output = Self::Value> + PartialOrd + Clone,

Set the step value, make a linspace coordinate from the given range. By default the matching method use the exact match Read more
source§

impl<R> IntoPartialAxis for R
where R: AsRangedCoord,

source§

fn partial_axis( self, axis_range: Range<<Self::CoordDescType as Ranged>::ValueType> ) -> PartialAxis<Self::CoordDescType>

Make the partial axis Read more
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.