[−][src]Struct html5ever::serialize::HtmlSerializer
Fields
writer: Wr
Methods
impl<Wr: Write> HtmlSerializer<Wr>
[src]
pub fn new(writer: Wr, opts: SerializeOpts) -> Self
[src]
Trait Implementations
impl<Wr: Write> Serializer for HtmlSerializer<Wr>
[src]
fn start_elem<'a, AttrIter>(
&mut self,
name: QualName,
attrs: AttrIter
) -> Result<()> where
AttrIter: Iterator<Item = AttrRef<'a>>,
[src]
&mut self,
name: QualName,
attrs: AttrIter
) -> Result<()> where
AttrIter: Iterator<Item = AttrRef<'a>>,
fn end_elem(&mut self, name: QualName) -> Result<()>
[src]
fn write_text(&mut self, text: &str) -> Result<()>
[src]
fn write_comment(&mut self, text: &str) -> Result<()>
[src]
fn write_doctype(&mut self, name: &str) -> Result<()>
[src]
fn write_processing_instruction(
&mut self,
target: &str,
data: &str
) -> Result<()>
[src]
&mut self,
target: &str,
data: &str
) -> Result<()>
Auto Trait Implementations
impl<Wr> Send for HtmlSerializer<Wr> where
Wr: Send,
Wr: Send,
impl<Wr> Sync for HtmlSerializer<Wr> where
Wr: Sync,
Wr: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,