[][src]Struct stdweb::web::TextNode

pub struct TextNode(_);

The TextNode represents the textual content of an IElement

If an element has no markup within its content, it has a single child TextNode that contains the element's text. However, if the element contains markup, it is parsed into information items and TextNodes that form its children.

(JavaScript docs)

Trait Implementations

impl JsSerialize for TextNode[src]

impl TryFrom<EventTarget> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Node> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<TextNode> for Reference[src]

type Error = Void

The type returned in the event of a conversion error.

impl TryFrom<Reference> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Reference> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl TryFrom<Value> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl<'_r> TryFrom<&'_r Value> for TextNode[src]

type Error = ConversionError

The type returned in the event of a conversion error.

impl InstanceOf for TextNode[src]

impl ReferenceType for TextNode[src]

impl IEventTarget for TextNode[src]

impl INode for TextNode[src]

impl ISlotable for TextNode[src]

impl AsRef<Reference> for TextNode[src]

impl From<TextNode> for EventTarget[src]

impl From<TextNode> for Node[src]

impl From<TextNode> for Reference[src]

impl Clone for TextNode[src]

impl Eq for TextNode[src]

impl PartialEq<TextNode> for TextNode[src]

impl Debug for TextNode[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]