pub enum IncludeDelim {
Prev,
Next,
None,
}Expand description
Where to include the delimiter in splits.
Variants§
Prev
Attach delimiter to the previous segment (e.g., “Hello.” | “ World.“)
Next
Attach delimiter to the next segment (e.g., “Hello” | “. World”)
None
Don’t include delimiter in either segment
Trait Implementations§
Source§impl Clone for IncludeDelim
impl Clone for IncludeDelim
Source§fn clone(&self) -> IncludeDelim
fn clone(&self) -> IncludeDelim
Returns a duplicate of the value. Read more
1.0.0 · 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 IncludeDelim
impl Debug for IncludeDelim
Source§impl Default for IncludeDelim
impl Default for IncludeDelim
Source§fn default() -> IncludeDelim
fn default() -> IncludeDelim
Returns the “default value” for a type. Read more
Source§impl PartialEq for IncludeDelim
impl PartialEq for IncludeDelim
impl Copy for IncludeDelim
impl Eq for IncludeDelim
impl StructuralPartialEq for IncludeDelim
Auto Trait Implementations§
impl Freeze for IncludeDelim
impl RefUnwindSafe for IncludeDelim
impl Send for IncludeDelim
impl Sync for IncludeDelim
impl Unpin for IncludeDelim
impl UnwindSafe for IncludeDelim
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