[−][src]Enum cfg::sequence::Separator
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.
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]
Auto Trait Implementations
impl Send for Separator
impl Sync for Separator
impl Unpin for Separator
impl UnwindSafe for Separator
impl RefUnwindSafe for Separator
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,