Enum style::servo::media_queries::Range [] [src]

pub enum Range<T> {
    Min(T),
    Max(T),
    Eq(T),
}

An enumeration that represents a ranged value.

Only public for testing, implementation details of Expression may change for Stylo.

Variants

At least the inner value.

At most the inner value.

Exactly the inner value.

Trait Implementations

impl<T: Clone> Clone for Range<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Copy> Copy for Range<T>
[src]

impl<T: Debug> Debug for Range<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Eq> Eq for Range<T>
[src]

impl<T: PartialEq> PartialEq for Range<T>
[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<T> MallocSizeOf for Range<T> where
    T: MallocSizeOf
[src]

[src]

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