Struct rustfmt_nightly::ignore_path::IgnorePathSet
source · pub(crate) struct IgnorePathSet {
ignore_set: Gitignore,
}
Fields
ignore_set: Gitignore
Implementations
sourceimpl IgnorePathSet
impl IgnorePathSet
pub(crate) fn from_ignore_list(ignore_list: &IgnoreList) -> Result<Self, Error>
pub(crate) fn is_match(&self, file_name: &FileName) -> bool
Auto Trait Implementations
impl RefUnwindSafe for IgnorePathSet
impl Send for IgnorePathSet
impl Sync for IgnorePathSet
impl Unpin for IgnorePathSet
impl UnwindSafe for IgnorePathSet
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes