Struct dotavious::attributes::ColorList[][src]

pub struct ColorList<'a> {
    pub colors: Vec<WeightedColor<'a>>,
}

Fields

colors: Vec<WeightedColor<'a>>

Trait Implementations

impl<'a> DotString<'a> for ColorList<'a>[src]

fn dot_string(&self) -> Cow<'a, str>[src]

A colon-separated list of weighted color values: WC(:WC)* where each WC has the form C(;F)? Ex: fillcolor=yellow;0.3:blue

impl<'a> From<ColorList<'a>> for AttributeText<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for ColorList<'a>

impl<'a> Send for ColorList<'a>

impl<'a> Sync for ColorList<'a>

impl<'a> Unpin for ColorList<'a>

impl<'a> UnwindSafe for ColorList<'a>

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

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

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.