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 · 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 SourceMatchMode
impl Debug for SourceMatchMode
Source§impl PartialEq for SourceMatchMode
impl PartialEq for SourceMatchMode
impl Copy for SourceMatchMode
impl Eq for SourceMatchMode
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