Struct strs_tools::string::split::protected::SplitOptions
source · pub struct SplitOptions<'a, D>{ /* private fields */ }Expand description
Options of function split.
Implementations§
source§impl<'a> SplitOptions<'a, Vec<&'a str>>
impl<'a> SplitOptions<'a, Vec<&'a str>>
source§impl<'a, D> SplitOptions<'a, D>
impl<'a, D> SplitOptions<'a, D>
sourcepub fn split_fast(self) -> SplitFastIterator<'a, D> ⓘwhere
Self: Sized,
pub fn split_fast(self) -> SplitFastIterator<'a, D> ⓘwhere
Self: Sized,
Produces SplitFastIterator.
Trait Implementations§
source§impl<'a, D> Debug for SplitOptions<'a, D>
impl<'a, D> Debug for SplitOptions<'a, D>
source§impl<'a, D: Searcher + Clone + Default> SplitOptionsAdapter<'a, D> for SplitOptions<'a, D>
impl<'a, D: Searcher + Clone + Default> SplitOptionsAdapter<'a, D> for SplitOptions<'a, D>
source§fn preserving_empty(&self) -> bool
fn preserving_empty(&self) -> bool
Preserving or dropping empty splits.
source§fn preserving_delimeters(&self) -> bool
fn preserving_delimeters(&self) -> bool
Preserving or dropping delimeters.
source§fn preserving_quoting(&self) -> bool
fn preserving_quoting(&self) -> bool
Preserving or dropping quotes.
source§fn quoting_prefixes(&self) -> &Vec<&'a str>
fn quoting_prefixes(&self) -> &Vec<&'a str>
Quoting prefixes.
source§fn quoting_postfixes(&self) -> &Vec<&'a str>
fn quoting_postfixes(&self) -> &Vec<&'a str>
Quoting postfixes.
Auto Trait Implementations§
impl<'a, D> Freeze for SplitOptions<'a, D>where
D: Freeze,
impl<'a, D> RefUnwindSafe for SplitOptions<'a, D>where
D: RefUnwindSafe,
impl<'a, D> Send for SplitOptions<'a, D>where
D: Send,
impl<'a, D> Sync for SplitOptions<'a, D>where
D: Sync,
impl<'a, D> Unpin for SplitOptions<'a, D>where
D: Unpin,
impl<'a, D> UnwindSafe for SplitOptions<'a, D>where
D: UnwindSafe,
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
source§impl<S> SetWithType for S
impl<S> SetWithType for S
source§fn set_with_type<T, IntoT>(&mut self, component: IntoT)where
IntoT: Into<T>,
S: SetComponent<T, IntoT>,
fn set_with_type<T, IntoT>(&mut self, component: IntoT)where
IntoT: Into<T>,
S: SetComponent<T, IntoT>,
Function to set value of a component by its type.