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
Min(T)
At least the inner value.
Max(T)
At most the inner value.
Eq(T)
Exactly the inner value.
Trait Implementations
impl<T: Clone> Clone for Range<T>
[src]
fn clone(&self) -> Range<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
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]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[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]
fn eq(&self, __arg_0: &Range<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Range<T>) -> bool
[src]
This method tests for !=
.
impl<T> MallocSizeOf for Range<T> where
T: MallocSizeOf,
[src]
T: MallocSizeOf,
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more