[][src]Enum smithy_types::CollapsedNode

pub enum CollapsedNode {
    Dom(CollapsedHtmlToken),
    Text(String),
    Comment(Option<String>),
}

An enum representing the types of nodes that can be present in the DOM.

A Vec<CollapsedNode> is generated from a Node by calling node.into_collapsed_node on it. This will concatenate adjacent strings, and flattening any Node::Vec's.

That is, a CollapsedNode is meant to be a closer representation of the DOM than a Node.

Variants

Trait Implementations

impl AsInnerHtml for CollapsedNode
[src]

impl PartialEq<CollapsedNode> for CollapsedNode
[src]

impl Eq for CollapsedNode
[src]

impl Clone for CollapsedNode
[src]

Performs copy-assignment from source. Read more

impl Debug for CollapsedNode
[src]

Auto Trait Implementations

impl Send for CollapsedNode

impl Sync for CollapsedNode

Blanket Implementations

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

impl<T> From for T
[src]

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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