pub enum TextAttr {
Set,
Auto,
Unset,
Unspecified,
}Expand description
Per-file text attribute from .gitattributes.
Variants§
Set
text — always treat as text.
Auto
text=auto — auto-detect.
Unset
-text or binary — never convert.
Unspecified
No text attribute specified.
Trait Implementations§
impl Copy for TextAttr
impl Eq for TextAttr
impl StructuralPartialEq for TextAttr
Auto Trait Implementations§
impl Freeze for TextAttr
impl RefUnwindSafe for TextAttr
impl Send for TextAttr
impl Sync for TextAttr
impl Unpin for TextAttr
impl UnsafeUnpin for TextAttr
impl UnwindSafe for TextAttr
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