pub struct PatternSet(/* private fields */);
Expand description
Represents a set of glob patterns which are applied as a unit
Implementations§
Trait Implementations§
Source§impl Clone for PatternSet
impl Clone for PatternSet
Source§fn clone(&self) -> PatternSet
fn clone(&self) -> PatternSet
Returns a copy 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 PatternSet
impl Debug for PatternSet
Source§impl Default for PatternSet
impl Default for PatternSet
Source§fn default() -> PatternSet
fn default() -> PatternSet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PatternSet
impl<'de> Deserialize<'de> for PatternSet
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
Source§impl<'a> FromIterator<&'a Pattern> for PatternSet
impl<'a> FromIterator<&'a Pattern> for PatternSet
Source§impl FromIterator<Pattern> for PatternSet
impl FromIterator<Pattern> for PatternSet
Auto Trait Implementations§
impl Freeze for PatternSet
impl RefUnwindSafe for PatternSet
impl Send for PatternSet
impl Sync for PatternSet
impl Unpin for PatternSet
impl UnwindSafe for PatternSet
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more