pub struct GlobOptions {
pub contains: bool,
pub case_insensitive: bool,
}Fields§
§contains: boolWhether the glob is a partial match.
Allows glob to match any part of the given string(s).
NOTE: this means that a pattern like node_modules/package_name with contains:true will
match foo_node_modules/package_name_bar If you want to match a directory named
node_modules/package_name you should use **/node_modules/package_name/**
case_insensitive: boolWhether matching should ignore ASCII case differences.
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for GlobOptions
impl<'__de, __Context> BorrowDecode<'__de, __Context> for GlobOptions
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for GlobOptions
impl Clone for GlobOptions
Source§fn clone(&self) -> GlobOptions
fn clone(&self) -> GlobOptions
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 moreimpl Copy for GlobOptions
Source§impl Debug for GlobOptions
impl Debug for GlobOptions
Source§impl<__Context> Decode<__Context> for GlobOptions
impl<__Context> Decode<__Context> for GlobOptions
Source§impl Default for GlobOptions
impl Default for GlobOptions
Source§fn default() -> GlobOptions
fn default() -> GlobOptions
Returns the “default value” for a type. Read more
Source§impl Encode for GlobOptions
impl Encode for GlobOptions
impl Eq for GlobOptions
Source§impl Hash for GlobOptions
impl Hash for GlobOptions
impl NonLocalValue for GlobOptions
Source§impl PartialEq for GlobOptions
impl PartialEq for GlobOptions
impl StructuralPartialEq for GlobOptions
Source§impl TaskInput for GlobOptions
impl TaskInput for GlobOptions
Source§fn is_transient(&self) -> bool
fn is_transient(&self) -> bool
This should return true if this object contains a [
Vc] (or any subtype of [Vc]) pointing
to a cell owned by a transient task. Read more§fn resolve_input(&self) -> impl Future<Output = Result<Self, Error>> + Send
fn resolve_input(&self) -> impl Future<Output = Result<Self, Error>> + Send
This method should resolve any [
Vc]s nested inside of this object, cloning the object in
the process. If the input is unresolved ([TaskInput::is_resolved]) a “local” resolution
task is created that runs this method.§fn is_resolved(&self) -> bool
fn is_resolved(&self) -> bool
Source§impl TraceRawVcs for GlobOptions
impl TraceRawVcs for GlobOptions
fn trace_raw_vcs(&self, __context__: &mut TraceRawVcsContext)
fn get_raw_vcs(&self) -> Vec<RawVc>
Auto Trait Implementations§
impl Freeze for GlobOptions
impl RefUnwindSafe for GlobOptions
impl Send for GlobOptions
impl Sync for GlobOptions
impl Unpin for GlobOptions
impl UnsafeUnpin for GlobOptions
impl UnwindSafe for GlobOptions
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,
impl<T> DynEq for T
§impl<T> DynPartialEq for T
impl<T> DynPartialEq for T
fn dyn_partial_eq(&self, other: &(dyn Any + 'static)) -> bool
§impl<T> DynTaskInputs for T
impl<T> DynTaskInputs for T
fn dyn_type_name(&self) -> &'static str
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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