pub struct TextPattern(/* private fields */);Expand description
Case-insensitive CLI text pattern. ^text anchors a prefix and * is a
zero-or-more wildcard; an unadorned pattern is an exact match.
Implementations§
Trait Implementations§
Source§impl Clone for TextPattern
impl Clone for TextPattern
Source§fn clone(&self) -> TextPattern
fn clone(&self) -> TextPattern
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 TextPattern
impl Debug for TextPattern
Source§impl<'de> Deserialize<'de> for TextPattern
impl<'de> Deserialize<'de> for TextPattern
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TextPattern
Source§impl PartialEq for TextPattern
impl PartialEq for TextPattern
Source§impl Serialize for TextPattern
impl Serialize for TextPattern
impl StructuralPartialEq for TextPattern
Auto Trait Implementations§
impl Freeze for TextPattern
impl RefUnwindSafe for TextPattern
impl Send for TextPattern
impl Sync for TextPattern
impl Unpin for TextPattern
impl UnsafeUnpin for TextPattern
impl UnwindSafe for TextPattern
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