pub struct WildcardPattern {
pub pattern: String,
pub case_sensitive: bool,
}Expand description
A simple wildcard pattern with optional case-sensitivity metadata.
Fields§
§pattern: String§case_sensitive: boolTrait Implementations§
Source§impl Clone for WildcardPattern
impl Clone for WildcardPattern
Source§fn clone(&self) -> WildcardPattern
fn clone(&self) -> WildcardPattern
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 WildcardPattern
impl Debug for WildcardPattern
Source§impl Default for WildcardPattern
impl Default for WildcardPattern
Source§fn default() -> WildcardPattern
fn default() -> WildcardPattern
Returns the “default value” for a type. Read more
Source§impl PartialEq for WildcardPattern
impl PartialEq for WildcardPattern
Source§fn eq(&self, other: &WildcardPattern) -> bool
fn eq(&self, other: &WildcardPattern) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for WildcardPattern
impl StructuralPartialEq for WildcardPattern
Auto Trait Implementations§
impl Freeze for WildcardPattern
impl RefUnwindSafe for WildcardPattern
impl Send for WildcardPattern
impl Sync for WildcardPattern
impl Unpin for WildcardPattern
impl UnsafeUnpin for WildcardPattern
impl UnwindSafe for WildcardPattern
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