[−][src]Struct yaserde::ser::Serializer
Implementations
impl<'de, W: Write> Serializer<W>
[src]
pub fn new(writer: EventWriter<W>) -> Self
[src]
pub fn new_from_writer(writer: W) -> 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,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,