struct RangeTo<T> { ... }
T: Integer
A range with an upper bound (..a
)
Fields
-
upper: T
Methods
impl RangeTo<T> { ... }
T: Integer
-
fn new(upper: T) -> RangeTo<T>
Create a new range with an upper bound.
You usually don't need to call this method directly, use the
..b
expression instead.
Mixins
impl RangeTo<T> { ... }
T: Integer
-
-
Returns
false
if arguments are equal,true
otherwise