[−][src]Enum smithy_types::CollapsedNode
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
Dom(CollapsedHtmlToken)
Text(String)
Comment(Option<String>)
Trait Implementations
impl AsInnerHtml for CollapsedNode
[src]
impl AsInnerHtml for CollapsedNode
fn as_inner_html(&self) -> String
[src]
fn as_inner_html(&self) -> String
impl PartialEq<CollapsedNode> for CollapsedNode
[src]
impl PartialEq<CollapsedNode> for CollapsedNode
fn eq(&self, other: &CollapsedNode) -> bool
[src]
fn eq(&self, other: &CollapsedNode) -> bool
fn ne(&self, other: &CollapsedNode) -> bool
[src]
fn ne(&self, other: &CollapsedNode) -> bool
impl Eq for CollapsedNode
[src]
impl Eq for CollapsedNode
impl Clone for CollapsedNode
[src]
impl Clone for CollapsedNode
fn clone(&self) -> CollapsedNode
[src]
fn clone(&self) -> CollapsedNode
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for CollapsedNode
[src]
impl Debug for CollapsedNode
Auto Trait Implementations
impl Send for CollapsedNode
impl Send for CollapsedNode
impl Sync for CollapsedNode
impl Sync for CollapsedNode
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId