Struct ini::WriteOption
source · pub struct WriteOption {
pub escape_policy: EscapePolicy,
pub line_separator: LineSeparator,
pub kv_separator: &'static str,
}
Expand description
Writing configuration
Fields§
§escape_policy: EscapePolicy
Policies about how to escape characters
line_separator: LineSeparator
Newline style
kv_separator: &'static str
Key value separator
Trait Implementations§
source§impl Clone for WriteOption
impl Clone for WriteOption
source§fn clone(&self) -> WriteOption
fn clone(&self) -> WriteOption
Returns a copy 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 moresource§impl Debug for WriteOption
impl Debug for WriteOption
source§impl Default for WriteOption
impl Default for WriteOption
source§fn default() -> WriteOption
fn default() -> WriteOption
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WriteOption
impl RefUnwindSafe for WriteOption
impl Send for WriteOption
impl Sync for WriteOption
impl Unpin for WriteOption
impl UnwindSafe for WriteOption
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)