pub enum SourceMatchMode {
ExactOnly,
ExactThenSubstringInsensitive,
}Expand description
Matching policy used when resolving requested source names.
Variants§
ExactOnly
Match only exact source names.
ExactThenSubstringInsensitive
Match exact names first, then fall back to case-insensitive substring matching.
Trait Implementations§
Source§impl Clone for SourceMatchMode
impl Clone for SourceMatchMode
Source§fn clone(&self) -> SourceMatchMode
fn clone(&self) -> SourceMatchMode
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 SourceMatchMode
Source§impl Debug for SourceMatchMode
impl Debug for SourceMatchMode
impl Eq for SourceMatchMode
Source§impl PartialEq for SourceMatchMode
impl PartialEq for SourceMatchMode
Source§fn eq(&self, other: &SourceMatchMode) -> bool
fn eq(&self, other: &SourceMatchMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceMatchMode
Auto Trait Implementations§
impl Freeze for SourceMatchMode
impl RefUnwindSafe for SourceMatchMode
impl Send for SourceMatchMode
impl Sync for SourceMatchMode
impl Unpin for SourceMatchMode
impl UnsafeUnpin for SourceMatchMode
impl UnwindSafe for SourceMatchMode
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