Struct qrcode::render::svg::Color[][src]

pub struct Color<'a>(pub &'a str);

An SVG color.

Trait Implementations

impl<'a> Copy for Color<'a>
[src]

impl<'a> Clone for Color<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Default for Color<'a>
[src]

Returns the "default value" for a type. Read more

impl<'a> PartialEq for Color<'a>
[src]

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

This method tests for !=.

impl<'a> Eq for Color<'a>
[src]

impl<'a> PartialOrd for Color<'a>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<'a> Ord for Color<'a>
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl<'a> Hash for Color<'a>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> Pixel for Color<'a>
[src]

The type that stores an intermediate buffer before finalizing to a concrete image Read more

Type of the finalized image.

Obtains the default pixel color when a module is dark or light.

Obtains the default module size. The result must be at least 1×1.

Auto Trait Implementations

impl<'a> Send for Color<'a>

impl<'a> Sync for Color<'a>