Struct yaserde::ser::Serializer [−][src]
pub struct Serializer<W: Write> { /* fields omitted */ }
Implementations
impl<'de, W: Write> Serializer<W>
[src]
impl<'de, W: Write> Serializer<W>
[src]pub fn new(writer: EventWriter<W>) -> Self
[src]
pub fn new_from_writer(writer: W, config: &Config) -> Self
[src]
pub fn new_for_inner(writer: W) -> Self
[src]
pub fn into_inner(self) -> W
[src]
pub fn skip_start_end(&self) -> bool
[src]
pub fn set_skip_start_end(&mut self, state: bool)
[src]
pub fn get_start_event_name(&self) -> Option<String>
[src]
pub fn set_start_event_name(&mut self, name: Option<String>)
[src]
pub fn write<'a, E>(&mut self, event: E) -> Result<()> where
E: Into<XmlEvent<'a>>,
[src]
E: Into<XmlEvent<'a>>,
Auto Trait Implementations
impl<W> RefUnwindSafe for Serializer<W> where
W: RefUnwindSafe,
W: RefUnwindSafe,
impl<W> Send for Serializer<W> where
W: Send,
W: Send,
impl<W> Sync for Serializer<W> where
W: Sync,
W: Sync,
impl<W> Unpin for Serializer<W> where
W: Unpin,
W: Unpin,
impl<W> UnwindSafe for Serializer<W> where
W: UnwindSafe,
W: UnwindSafe,