[][src]Enum plotters_unstable::prelude::NestedValue

pub enum NestedValue<C, V> {
    Category(C),
    Value(C, V),
}

Describe a value for a nested coordinate

Variants

Category(C)

Category value

Value(C, V)

One exact nested value

Implementations

impl<C, V> NestedValue<C, V>[src]

pub fn category(&self) -> &C[src]

Get the category of current nest value

pub fn nested_value(&self) -> Option<&V>[src]

Get the nested value from this value

Trait Implementations

impl<C: Clone, V: Clone> Clone for NestedValue<C, V>[src]

impl<C: Debug, V: Debug> Debug for NestedValue<C, V>[src]

impl<C: Eq, V: Eq> Eq for NestedValue<C, V>[src]

impl<C, V> From<(C, V)> for NestedValue<C, V>[src]

impl<C, V> From<C> for NestedValue<C, V>[src]

impl<C: PartialEq, V: PartialEq> PartialEq<NestedValue<C, V>> for NestedValue<C, V>[src]

impl<C, V> StructuralEq for NestedValue<C, V>[src]

impl<C, V> StructuralPartialEq for NestedValue<C, V>[src]

impl<PT, ST, P, S> ValueFormatter<NestedValue<PT, ST>> for NestedRange<P, S> where
    P: Ranged<ValueType = PT> + DiscreteRanged,
    S: Ranged<ValueType = ST>,
    P: ValueFormatter<PT>,
    S: ValueFormatter<ST>, 
[src]

Auto Trait Implementations

impl<C, V> RefUnwindSafe for NestedValue<C, V> where
    C: RefUnwindSafe,
    V: RefUnwindSafe

impl<C, V> Send for NestedValue<C, V> where
    C: Send,
    V: Send

impl<C, V> Sync for NestedValue<C, V> where
    C: Sync,
    V: Sync

impl<C, V> Unpin for NestedValue<C, V> where
    C: Unpin,
    V: Unpin

impl<C, V> UnwindSafe for NestedValue<C, V> where
    C: UnwindSafe,
    V: UnwindSafe

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> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

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.