Enum syn::RangeLimits[][src]

pub enum RangeLimits {
    HalfOpen(Dot2),
    Closed(DotDotEq),
}

Limit types of a range, inclusive or exclusive.

This type is available if Syn is built with the "full" feature.

Variants

Inclusive at the beginning, exclusive at the end.

Inclusive at the beginning and end.

Trait Implementations

impl Synom for RangeLimits
[src]

A short name of the type being parsed. Read more

impl Copy for RangeLimits
[src]

impl Clone for RangeLimits
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl !Send for RangeLimits

impl !Sync for RangeLimits