[go: up one dir, main page]

Enum svgtypes::PaintFallback [] [src]

pub enum PaintFallback {
    None,
    CurrentColor,
    Color(Color),
}

Representation of the fallback part of the <paint> type.

Used by the Paint type.

Variants

The none value.

The currentColor value.

<color> value.

Trait Implementations

impl Clone for PaintFallback
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for PaintFallback
[src]

impl PartialEq for PaintFallback
[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 Debug for PaintFallback
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for PaintFallback

impl Sync for PaintFallback