[][src]Trait moxie_dom::interfaces::node::Child

pub trait Child: Sized {
    pub fn to_bind(&self) -> &Node;

    pub fn into_child(self) -> Self { ... }

A value which can be bound as a child to a DOM node.

Required methods

pub fn to_bind(&self) -> &Node[src]

Returns the "raw" node for this child to bind to its parent.

Loading content...

Provided methods

pub fn into_child(self) -> Self[src]

Identity transform used to satisfy mox!'s syntax contract for a value to be used directly as a child.

Loading content...


impl<N> Child for N where
    N: NodeWrapper

Loading content...