pub struct GlobMatchResult {
pub matched: bool,
pub pattern_index: Option<usize>,
pub pattern: Option<String>,
pub match_method: MatchMethod,
}
Expand description
Result of a glob match operation
Fields§
§matched: bool
§pattern_index: Option<usize>
§pattern: Option<String>
§match_method: MatchMethod
Trait Implementations§
Source§impl Clone for GlobMatchResult
impl Clone for GlobMatchResult
Source§fn clone(&self) -> GlobMatchResult
fn clone(&self) -> GlobMatchResult
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 GlobMatchResult
impl Debug for GlobMatchResult
Source§impl<'de> Deserialize<'de> for GlobMatchResult
impl<'de> Deserialize<'de> for GlobMatchResult
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
Auto Trait Implementations§
impl Freeze for GlobMatchResult
impl RefUnwindSafe for GlobMatchResult
impl Send for GlobMatchResult
impl Sync for GlobMatchResult
impl Unpin for GlobMatchResult
impl UnwindSafe for GlobMatchResult
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