Struct domafic::html_writer::HtmlDisplayable [] [src]

pub struct HtmlDisplayable<'a, T: DomNode + 'a>(pub &'a T);

Wrapper struct to allow DomNodes to implement Display as html

Trait Implementations

impl<'a, T: Debug + DomNode + 'a> Debug for HtmlDisplayable<'a, T>
[src]

Formats the value using the given formatter.

impl<'a, T: Copy + DomNode + 'a> Copy for HtmlDisplayable<'a, T>
[src]

impl<'a, T: Clone + DomNode + 'a> Clone for HtmlDisplayable<'a, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a, T: Eq + DomNode + 'a> Eq for HtmlDisplayable<'a, T>
[src]

impl<'a, T: PartialEq + DomNode + 'a> PartialEq for HtmlDisplayable<'a, T>
[src]

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

This method tests for !=.

impl<'a, T: Ord + DomNode + 'a> Ord for HtmlDisplayable<'a, T>
[src]

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

impl<'a, T: PartialOrd + DomNode + 'a> PartialOrd for HtmlDisplayable<'a, T>
[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<'a, T: Hash + DomNode + 'a> Hash for HtmlDisplayable<'a, T>
[src]

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

Feeds a slice of this type into the state provided.

impl<'a, T: DomNode> Display for HtmlDisplayable<'a, T>
[src]

Formats the value using the given formatter.