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
Trailing | Separation with the trailing separator included. In other words, all elements are followed by the separator. | |
Proper | The separator occurs between elements. | |
Liberal | The union of | |
Null | No separation. |
Methods
impl Separator
fn prefix_separator(self) -> Self
Returns the kind of separation for a prefix sequence.