pub struct WriteOptions {
pub indent_char: u8,
pub indent_size: usize,
pub write_decl: bool,
}Expand description
Options when writing XML.
Fields§
§indent_char: u8Byte character to indent with. (default: b' ')
indent_size: usizeHow many indent_char should be used for indent. (default: 2)
write_decl: boolXML declaration should be written at the top. (default: true)
Implementations§
Source§impl WriteOptions
impl WriteOptions
pub fn default() -> WriteOptions
Auto Trait Implementations§
impl Freeze for WriteOptions
impl RefUnwindSafe for WriteOptions
impl Send for WriteOptions
impl Sync for WriteOptions
impl Unpin for WriteOptions
impl UnwindSafe for WriteOptions
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