Enum style::attr::LengthOrPercentageOrAuto [] [src]

pub enum LengthOrPercentageOrAuto {
    Auto,
    Percentage(f32),
    Length(Au),
}

Variants

Trait Implementations

impl Clone for LengthOrPercentageOrAuto
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LengthOrPercentageOrAuto
[src]

impl Debug for LengthOrPercentageOrAuto
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for LengthOrPercentageOrAuto
[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 MallocSizeOf for LengthOrPercentageOrAuto
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more