Struct obj::raw::object::Range [] [src]

pub struct Range {
    pub start: usize,
    pub end: usize,
}

A struct which represent [start, end) range.

Fields

start: usize

The lower bound of the range (inclusive).

end: usize

The upper bound of the range (exclusive).

Trait Implementations

impl Debug for Range
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Range
[src]

fn clone(&self) -> Range

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Eq for Range
[src]

impl PartialEq for Range
[src]

fn eq(&self, __arg_0: &Range) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Range) -> bool

This method tests for !=.

impl Copy for Range
[src]