[−][src]Struct typed_html::dom::TextNode
An HTML text node.
Methods
impl<T: OutputType> TextNode<T>
[src]
pub fn new<S: Into<String>>(s: S) -> Self
[src]
Construct a text node.
The preferred way to construct a text node is with the text!()
macro.
Trait Implementations
impl<T: OutputType> Node<T> for TextNode<T>
[src]
impl<T: OutputType> FlowContent<T> for TextNode<T>
[src]
impl<T: OutputType> PhrasingContent<T> for TextNode<T>
[src]
impl<T: OutputType> IntoIterator for TextNode<T>
[src]
type Item = TextNode<T>
The type of the elements being iterated over.
type IntoIter = IntoIter<TextNode<T>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
impl<T: OutputType> Display for TextNode<T>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<I> IntoIterator for I where
I: Iterator,
[src]
I: Iterator,
type Item = <I as Iterator>::Item
The type of the elements being iterated over.
type IntoIter = I
Which kind of iterator are we turning this into?
fn into_iter(self) -> I
[src]
impl<T> From for T
[src]
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,