pub struct ExecutableMatchOptions {
pub resolve_existing_symlinks: bool,
pub normalize_case: bool,
pub strip_verbatim_prefix: bool,
}Expand description
Options for comparing two executable path strings/paths.
Fields§
§resolve_existing_symlinks: boolAttempt to canonicalize existing paths (resolve symlinks).
normalize_case: boolApply platform-default case folding when true; preserve when false.
strip_verbatim_prefix: boolStrip Windows verbatim prefixes for comparison when true.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutableMatchOptions
impl Clone for ExecutableMatchOptions
Source§fn clone(&self) -> ExecutableMatchOptions
fn clone(&self) -> ExecutableMatchOptions
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 ExecutableMatchOptions
Source§impl Debug for ExecutableMatchOptions
impl Debug for ExecutableMatchOptions
Source§impl Default for ExecutableMatchOptions
impl Default for ExecutableMatchOptions
impl Eq for ExecutableMatchOptions
Source§impl PartialEq for ExecutableMatchOptions
impl PartialEq for ExecutableMatchOptions
impl StructuralPartialEq for ExecutableMatchOptions
Auto Trait Implementations§
impl Freeze for ExecutableMatchOptions
impl RefUnwindSafe for ExecutableMatchOptions
impl Send for ExecutableMatchOptions
impl Sync for ExecutableMatchOptions
impl Unpin for ExecutableMatchOptions
impl UnsafeUnpin for ExecutableMatchOptions
impl UnwindSafe for ExecutableMatchOptions
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