pub struct GitignoreStats {
pub total_patterns: usize,
pub exclude_patterns: usize,
pub include_patterns: usize,
pub comment_lines: usize,
pub ignore_files: usize,
}
Expand description
Statistics about gitignore patterns
Fields§
§total_patterns: usize
§exclude_patterns: usize
§include_patterns: usize
§comment_lines: usize
§ignore_files: usize
Trait Implementations§
Source§impl Clone for GitignoreStats
impl Clone for GitignoreStats
Source§fn clone(&self) -> GitignoreStats
fn clone(&self) -> GitignoreStats
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 GitignoreStats
impl Debug for GitignoreStats
Source§impl<'de> Deserialize<'de> for GitignoreStats
impl<'de> Deserialize<'de> for GitignoreStats
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 GitignoreStats
impl RefUnwindSafe for GitignoreStats
impl Send for GitignoreStats
impl Sync for GitignoreStats
impl Unpin for GitignoreStats
impl UnwindSafe for GitignoreStats
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