pub struct ConversionConfig {
pub autocrlf: AutoCrlf,
pub eol: CoreEol,
pub safecrlf: SafeCrlf,
}Expand description
Global conversion settings derived from config.
Fields§
§autocrlf: AutoCrlf§eol: CoreEol§safecrlf: SafeCrlfImplementations§
Source§impl ConversionConfig
impl ConversionConfig
Sourcepub fn from_config(config: &ConfigSet) -> Self
pub fn from_config(config: &ConfigSet) -> Self
Load conversion settings from a ConfigSet.
Trait Implementations§
Source§impl Clone for ConversionConfig
impl Clone for ConversionConfig
Source§fn clone(&self) -> ConversionConfig
fn clone(&self) -> ConversionConfig
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 moreAuto Trait Implementations§
impl Freeze for ConversionConfig
impl RefUnwindSafe for ConversionConfig
impl Send for ConversionConfig
impl Sync for ConversionConfig
impl Unpin for ConversionConfig
impl UnsafeUnpin for ConversionConfig
impl UnwindSafe for ConversionConfig
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