Struct domafic::dom_node::StringNode [] [src]

pub struct StringNode<Message>(_, _, _);

DomNode wrapper for Strings

Trait Implementations

impl<Message: Clone> Clone for StringNode<Message>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Message: Debug> Debug for StringNode<Message>
[src]

Formats the value using the given formatter.

impl<Message: Eq> Eq for StringNode<Message>
[src]

impl<Message: PartialEq> PartialEq for StringNode<Message>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Message: Hash> Hash for StringNode<Message>
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl<Message: Ord> Ord for StringNode<Message>
[src]

This method returns an Ordering between self and other. Read more

impl<Message: PartialOrd> PartialOrd for StringNode<Message>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<M> DomNode for StringNode<M>
[src]

The type of message sent by a listener. Messages of this type should be used to update application state. Read more

The type of the set of children contained by the DomNode. Read more

The type of the set of listeners watching this DomNode for events. Read more

The type of the DomNode with its listeners replaced by EmptyListeners. Read more

If present, the key will be included in the KeyStack returned alongside a message. This should be used to differentiate messages from peer DomNodes. Read more

Get the nth attribute for a given DomNode. Read more

Returns a reference to the children of this DomNode

Returns a reference to the listeners listening for events on this DomNode

Returns a reference to both the children and listeners of this DomNode

Splits self into two separate components, one with and one without listeners. Read more

Returns an enum representing either the node's HTML tag or, in the case of a text node, the node's text value. Read more

Add a key to this DomNode. This method will panic if the node already has a key. Read more

Returns a wrapper that can displayed as HTML

Returns an iterator over a DomNode's attributes.

Wrap the DomNode in an additional set of attributes. Read more

Wrap the DomNode in an additional set of liseners. Read more

impl<Message> From<String> for StringNode<Message>
[src]

Performs the conversion.