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

pub trait Parent<C: Child>: NodeWrapper {
    fn child(self, child: C) -> Self { ... }
}

A node which accepts children.

Note: C is constrained by Child rather than NodeWrapper to allow custom components to be bound directly to DOM types.

Provided methods

fn child(self, child: C) -> Self

Add a child to this node.

Loading content...

Implementors

impl Parent<Param> for ObjectBuilder[src]

impl Parent<Source> for PictureBuilder[src]

impl Parent<Source> for AudioBuilder[src]

impl Parent<Source> for VideoBuilder[src]

impl Parent<Legend> for FieldsetBuilder[src]

impl Parent<Optgroup> for SelectBuilder[src]

impl Parent<Option> for DatalistBuilder[src]

impl Parent<Option> for OptgroupBuilder[src]

impl Parent<Option> for SelectBuilder[src]

impl Parent<Summary> for DetailsBuilder[src]

impl Parent<Img> for PictureBuilder[src]

impl Parent<Track> for AudioBuilder[src]

impl Parent<Track> for VideoBuilder[src]

impl Parent<Head> for HtmlBuilder[src]

impl Parent<Script> for PictureBuilder[src]

impl Parent<Script> for DlBuilder[src]

impl Parent<Script> for OlBuilder[src]

impl Parent<Script> for UlBuilder[src]

impl Parent<H1> for SummaryBuilder[src]

impl Parent<H1> for HgroupBuilder[src]

impl Parent<H2> for SummaryBuilder[src]

impl Parent<H2> for HgroupBuilder[src]

impl Parent<H3> for SummaryBuilder[src]

impl Parent<H3> for HgroupBuilder[src]

impl Parent<H4> for SummaryBuilder[src]

impl Parent<H4> for HgroupBuilder[src]

impl Parent<H5> for SummaryBuilder[src]

impl Parent<H5> for HgroupBuilder[src]

impl Parent<H6> for SummaryBuilder[src]

impl Parent<H6> for HgroupBuilder[src]

impl Parent<Hgroup> for SummaryBuilder[src]

impl Parent<Body> for HtmlBuilder[src]

impl Parent<Template> for PictureBuilder[src]

impl Parent<Template> for DlBuilder[src]

impl Parent<Template> for OlBuilder[src]

impl Parent<Template> for UlBuilder[src]

impl Parent<Caption> for TableBuilder[src]

impl Parent<Col> for ColgroupBuilder[src]

impl Parent<Colgroup> for TableBuilder[src]

impl Parent<Tbody> for TableBuilder[src]

impl Parent<Td> for TrBuilder[src]

impl Parent<Tfoot> for TableBuilder[src]

impl Parent<Th> for TrBuilder[src]

impl Parent<Thead> for TableBuilder[src]

impl Parent<Tr> for TableBuilder[src]

impl Parent<Tr> for TbodyBuilder[src]

impl Parent<Tr> for TfootBuilder[src]

impl Parent<Tr> for TheadBuilder[src]

impl Parent<Dd> for DlBuilder[src]

impl Parent<Div> for DlBuilder[src]

impl Parent<Dt> for DlBuilder[src]

impl Parent<Figcaption> for FigureBuilder[src]

impl Parent<Li> for OlBuilder[src]

impl Parent<Li> for UlBuilder[src]

impl Parent<Rt> for RtcBuilder[src]

impl Parent<Text> for OptionBuilder[src]

impl Parent<Text> for TextareaBuilder[src]

impl Parent<Text> for StyleBuilder[src]

impl Parent<Text> for TitleBuilder[src]

impl Parent<Text> for ScriptBuilder[src]

impl Parent<Text> for RpBuilder[src]

impl<Child> Parent<Child> for ButtonBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for DatalistBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for FieldsetBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for FormBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for LabelBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for LegendBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for MeterBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for OutputBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for ProgressBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for DetailsBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for DialogBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for MenuBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for SummaryBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for HeadBuilder where
    Child: MetadataContent
[src]

impl<Child> Parent<Child> for NoscriptBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for AddressBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for ArticleBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for AsideBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for FooterBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for H1Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for H2Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for H3Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for H4Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for H5Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for H6Builder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for HeaderBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for MainBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for NavBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for SectionBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for BodyBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for CaptionBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for TdBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for ThBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for TrBuilder where
    Child: ScriptSupportingContent
[src]

impl<Child> Parent<Child> for BlockquoteBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for DdBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for DivBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for DtBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for FigcaptionBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for FigureBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for LiBuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for PBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for PreBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for ABuilder where
    Child: FlowContent
[src]

impl<Child> Parent<Child> for AbbrBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for BBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for BdiBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for BdoBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for CiteBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for CodeBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for DataBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for DfnBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for EmBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for IBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for KbdBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for MarkBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for QBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for RtBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for RtcBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for RubyBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SampBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SmallBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SpanBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for StrongBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SubBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for SupBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for TimeBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for UBuilder where
    Child: PhrasingContent
[src]

impl<Child> Parent<Child> for VarBuilder where
    Child: PhrasingContent
[src]

Loading content...