pub struct IgnoreFile {
pub path: PathBuf,
pub ignore_type: IgnoreType,
pub patterns: Vec<GitignorePattern>,
pub line_count: usize,
}
Expand description
Information about a loaded ignore file
Fields§
§path: PathBuf
§ignore_type: IgnoreType
§patterns: Vec<GitignorePattern>
§line_count: usize
Trait Implementations§
Source§impl Clone for IgnoreFile
impl Clone for IgnoreFile
Source§fn clone(&self) -> IgnoreFile
fn clone(&self) -> IgnoreFile
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 IgnoreFile
impl Debug for IgnoreFile
Source§impl<'de> Deserialize<'de> for IgnoreFile
impl<'de> Deserialize<'de> for IgnoreFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for IgnoreFile
impl RefUnwindSafe for IgnoreFile
impl Send for IgnoreFile
impl Sync for IgnoreFile
impl Unpin for IgnoreFile
impl UnwindSafe for IgnoreFile
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