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

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

Trailing(Symbol)

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

Proper(Symbol)

The separator occurs between elements.

Liberal(Symbol)

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

Null

No separation.

Methods

impl Separator[src]

pub fn prefix_separator(self) -> Self[src]

Returns the kind of separation for a prefix sequence.

Trait Implementations

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

impl Clone for Separator[src]

impl Copy for Separator[src]

impl Eq for Separator[src]

impl PartialEq<Separator> for Separator[src]

impl Debug for Separator[src]

impl Hash for Separator[src]

impl StructuralPartialEq for Separator[src]

impl StructuralEq for Separator[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]