pub enum Utf8Bom {
No,
Yes,
WindowsOnly,
}Expand description
The -B setting controlling the byte-order-mark in utf8 files.
Variants§
No
Do not write a BOM (-B 0).
Yes
Write utf8 files with a BOM (-B 1).
WindowsOnly
Write the BOM only on Windows (-B 2).
Implementations§
Trait Implementations§
impl Copy for Utf8Bom
impl Eq for Utf8Bom
impl StructuralPartialEq for Utf8Bom
Auto Trait Implementations§
impl Freeze for Utf8Bom
impl RefUnwindSafe for Utf8Bom
impl Send for Utf8Bom
impl Sync for Utf8Bom
impl Unpin for Utf8Bom
impl UnsafeUnpin for Utf8Bom
impl UnwindSafe for Utf8Bom
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