pub struct Options {
pub drivers: Vec<Driver>,
pub eol_config: Configuration,
pub crlf_roundtrip_check: CrlfRoundTripCheck,
pub encodings_with_roundtrip_check: Vec<&'static Encoding>,
pub object_hash: Kind,
}
Expand description
Additional configuration for the filter pipeline.
Fields§
§drivers: Vec<Driver>
Available (external) driver programs to invoke if attributes for path configure them.
eol_config: Configuration
Global options to configure end-of-line conversions, to worktree or to git.
crlf_roundtrip_check: CrlfRoundTripCheck
How to perform round-trip checks during end-of-line conversions to git.
encodings_with_roundtrip_check: Vec<&'static Encoding>
All worktree encodings for round-trip checks should be performed.
object_hash: Kind
The object hash to use when applying the ident
filter.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)