pub struct EmitterConfig {
pub write_document_declaration: bool,
pub perform_escaping: bool,
pub perform_indent: bool,
pub line_separator: Cow<'static, str>,
}Fields§
§write_document_declaration: bool§perform_escaping: bool§perform_indent: bool§line_separator: Cow<'static, str>Implementations§
Source§impl EmitterConfig
impl EmitterConfig
pub fn create_writer<W: Write>(&self, writer: W) -> EventWriter<W>
Trait Implementations§
Source§impl Clone for EmitterConfig
impl Clone for EmitterConfig
Source§fn clone(&self) -> EmitterConfig
fn clone(&self) -> EmitterConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EmitterConfig
impl Debug for EmitterConfig
Auto Trait Implementations§
impl Freeze for EmitterConfig
impl RefUnwindSafe for EmitterConfig
impl Send for EmitterConfig
impl Sync for EmitterConfig
impl Unpin for EmitterConfig
impl UnsafeUnpin for EmitterConfig
impl UnwindSafe for EmitterConfig
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