Struct rustc_typeck::hir::intravisit::IdRange [] [src]

pub struct IdRange {
    pub min: u32,
    pub max: u32,
}
Unstable (rustc_private)

Fields

min: u32
Unstable (rustc_private)
max: u32
Unstable (rustc_private)

Methods

impl IdRange

fn max() -> IdRange

fn empty(&self) -> bool

fn add(&mut self, id: u32)

Trait Implementations

Derived Implementations

impl Debug for IdRange

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

Formats the value using the given formatter.

impl Decodable for IdRange

fn decode<__D>(__arg_0: &mut __D) -> Result<IdRange, __D::Error> where __D: Decoder

impl Encodable for IdRange

fn encode<__S>(&self, __arg_0: &mut __S) -> Result<(), __S::Error> where __S: Encoder

impl Clone for IdRange

fn clone(&self) -> IdRange

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 Copy for IdRange