pub struct PathspecMatchMagic {
pub literal: bool,
pub glob: bool,
pub icase: bool,
}Expand description
Pathspec match magic, mirroring git’s PATHSPEC_LITERAL/PATHSPEC_GLOB/
PATHSPEC_ICASE. Constructed from the global --{glob,noglob,icase,literal}-pathspecs
options. Drives pathspec_item_matches.
Fields§
§literal: bool§glob: bool§icase: boolTrait Implementations§
Source§impl Clone for PathspecMatchMagic
impl Clone for PathspecMatchMagic
Source§fn clone(&self) -> PathspecMatchMagic
fn clone(&self) -> PathspecMatchMagic
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 PathspecMatchMagic
Source§impl Debug for PathspecMatchMagic
impl Debug for PathspecMatchMagic
Source§impl Default for PathspecMatchMagic
impl Default for PathspecMatchMagic
Source§fn default() -> PathspecMatchMagic
fn default() -> PathspecMatchMagic
Returns the “default value” for a type. Read more
impl Eq for PathspecMatchMagic
Source§impl PartialEq for PathspecMatchMagic
impl PartialEq for PathspecMatchMagic
Source§fn eq(&self, other: &PathspecMatchMagic) -> bool
fn eq(&self, other: &PathspecMatchMagic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PathspecMatchMagic
Auto Trait Implementations§
impl Freeze for PathspecMatchMagic
impl RefUnwindSafe for PathspecMatchMagic
impl Send for PathspecMatchMagic
impl Sync for PathspecMatchMagic
impl Unpin for PathspecMatchMagic
impl UnsafeUnpin for PathspecMatchMagic
impl UnwindSafe for PathspecMatchMagic
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