Struct snapps_txn_reference_impl::condition::ClosedInterval[][src]

pub struct ClosedInterval<T> {
    pub lower: T,
    pub upper: T,
}
Expand description

A condition that is true for any value x that satisfies lower <= x <= upper, parameterised by a type T.

Fields

lower: T

The (inclusive) lower bound of the condition. A value x must satisfy lower <= x in order to satisfy this condition.

upper: T

The (inclusive) upper bound of the condition. A value x must satisfy upper <= x in order to satisfy this condition.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.