Enum cfg::sequence::Separator [] [src]

pub enum Separator {
    Trailing(Symbol),
    Proper(Symbol),
    Liberal(Symbol),
    Null,
}

The separator symbol and mode of separation in a sequence, or Null for no separation.

Variants

Separation with the trailing separator included. In other words, all elements are followed by the separator.

The separator occurs between elements.

The union of Trailing and Proper. In other words, the trailing separator may or may not be present.

No separation.

Methods

impl Separator
[src]

Returns the kind of separation for a prefix sequence.

Trait Implementations

impl Clone for Separator
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Separator
[src]

impl Debug for Separator
[src]

Formats the value using the given formatter.

impl Eq for Separator
[src]

impl Hash for Separator
[src]

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

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

impl PartialEq for Separator
[src]

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

This method tests for !=.

impl Into<Option<Symbol>> for Separator
[src]

Performs the conversion.