Struct turtle::color::Color [] [src]

pub struct Color {
    pub red: f64,
    pub green: f64,
    pub blue: f64,
    pub alpha: f64,
}

Fields

Methods

impl Color
[src]

[src]

[src]

Trait Implementations

impl Debug for Color
[src]

[src]

Formats the value using the given formatter.

impl Clone for Color
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Color
[src]

impl PartialEq for Color
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Rand for Color
[src]

[src]

Generates a random instance of this type using the specified source of randomness. Read more

impl<'a> From<&'a str> for Color
[src]

[src]

Performs the conversion.