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 Debug for RangeLimits
[src]

Formats the value using the given formatter. Read more

impl Eq for RangeLimits
[src]

impl PartialEq for RangeLimits
[src]

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

This method tests for !=.

impl Hash for RangeLimits
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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