Struct nvapi_hi::Range [] [src]

pub struct Range<T> {
    pub min: T,
    pub max: T,
}

Fields

Methods

impl<T> Range<T>
[src]

[src]

[src]

Trait Implementations

impl<T> Ord for Range<T> where
    T: Ord
[src]

[src]

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

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl<T> PartialOrd<Range<T>> for Range<T> where
    T: PartialOrd<T>, 
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

impl<T> Display for Range<T> where
    T: Display
[src]

[src]

Formats the value using the given formatter. Read more

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

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

impl<T> Serialize for Range<T> where
    T: Serialize
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<T> Hash for Range<T> where
    T: Hash
[src]

[src]

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

1.3.0
[src]

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

impl<T> PartialEq<Range<T>> for Range<T> where
    T: PartialEq<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<'de, T> Deserialize<'de> for Range<T> where
    T: Deserialize<'de>, 
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

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

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

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

[src]

Formats the value using the given formatter. Read more

impl<T> Default for Range<T> where
    T: Default
[src]

[src]

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

Auto Trait Implementations

impl<T> Send for Range<T> where
    T: Send

impl<T> Sync for Range<T> where
    T: Sync