pub enum KeepSeparator {
Start,
End,
}Expand description
Where to attach the separator when keeping it.
Variants§
Trait Implementations§
Source§impl Clone for KeepSeparator
impl Clone for KeepSeparator
Source§fn clone(&self) -> KeepSeparator
fn clone(&self) -> KeepSeparator
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KeepSeparator
impl Debug for KeepSeparator
Source§impl PartialEq for KeepSeparator
impl PartialEq for KeepSeparator
Source§fn eq(&self, other: &KeepSeparator) -> bool
fn eq(&self, other: &KeepSeparator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for KeepSeparator
impl Eq for KeepSeparator
impl StructuralPartialEq for KeepSeparator
Auto Trait Implementations§
impl Freeze for KeepSeparator
impl RefUnwindSafe for KeepSeparator
impl Send for KeepSeparator
impl Sync for KeepSeparator
impl Unpin for KeepSeparator
impl UnsafeUnpin for KeepSeparator
impl UnwindSafe for KeepSeparator
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more