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

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

Fields

min
max

Methods

impl IdRange

fn max() -> IdRange

fn empty(&self) -> bool

fn add(&mut self, id: NodeId)

Trait Implementations

Derived Implementations

impl Debug for IdRange

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

impl Decodable for IdRange

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

impl Encodable for IdRange

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

impl Clone for IdRange

fn clone(&self) -> IdRange

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

impl Copy for IdRange