pub struct StringKeeper<T> {
pub to_parse: String,
pub pattern: T,
pub period: KeeperPeriod,
pub clusivity: KeeperClusivity,
pub cutoff: KeeperCutoff,
}
Fields§
§to_parse: String
§pattern: T
§period: KeeperPeriod
§clusivity: KeeperClusivity
§cutoff: KeeperCutoff
Trait Implementations§
Source§impl Display for StringKeeper<String>
impl Display for StringKeeper<String>
Source§impl Display for StringKeeper<char>
impl Display for StringKeeper<char>
Source§impl StringKeeperExt<String> for StringKeeper<String>
impl StringKeeperExt<String> for StringKeeper<String>
fn beginning_of_string(self) -> StringKeeper<String>
fn end_of_string(self) -> StringKeeper<String>
fn including_pattern(self) -> StringKeeper<String>
fn excluding_pattern(self) -> StringKeeper<String>
fn before_pattern(self) -> StringKeeper<String>
fn after_pattern(self) -> StringKeeper<String>
Source§impl StringKeeperExt<char> for StringKeeper<char>
impl StringKeeperExt<char> for StringKeeper<char>
fn beginning_of_string(self) -> Self
fn end_of_string(self) -> Self
fn including_pattern(self) -> Self
fn excluding_pattern(self) -> Self
fn before_pattern(self) -> Self
fn after_pattern(self) -> Self
Auto Trait Implementations§
impl<T> Freeze for StringKeeper<T>where
T: Freeze,
impl<T> RefUnwindSafe for StringKeeper<T>where
T: RefUnwindSafe,
impl<T> Send for StringKeeper<T>where
T: Send,
impl<T> Sync for StringKeeper<T>where
T: Sync,
impl<T> Unpin for StringKeeper<T>where
T: Unpin,
impl<T> UnwindSafe for StringKeeper<T>where
T: 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