pub struct Loaded {
pub values: Map<String, Value>,
pub bom: bool,
pub crlf: bool,
pub utf16: bool,
}Expand description
A settings file as read: its values, and the byte-level habits to write back.
Fields§
§values: Map<String, Value>§bom: boolThe file starts with a UTF-8 byte-order mark.
crlf: boolMost of its line ends are CRLF.
utf16: boolIt is UTF-16 (read, never written).
Trait Implementations§
impl StructuralPartialEq for Loaded
Auto Trait Implementations§
impl Freeze for Loaded
impl RefUnwindSafe for Loaded
impl Send for Loaded
impl Sync for Loaded
impl Unpin for Loaded
impl UnsafeUnpin for Loaded
impl UnwindSafe for Loaded
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