Struct syntex_syntax::ast_util::IdRange [] [src]

pub struct IdRange {
    pub min: NodeId,
    pub max: NodeId,
}

Fields

min
max

Methods

impl IdRange
[src]

fn max() -> IdRange

fn empty(&self) -> bool

fn add(&mut self, id: NodeId)

Trait Implementations

Derived Implementations

impl Debug for IdRange
[src]

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

Formats the value using the given formatter.

impl Decodable for IdRange
[src]

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

impl Encodable for IdRange
[src]

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

impl Clone for IdRange
[src]

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
[src]