Struct silkenweb_html::macros::Element
source · pub struct Element(_);
Expand description
An HTML element.
Elements can only appear once in the document. If an element is added again, it will be moved.
Trait Implementations§
source§impl DomElement for Element
impl DomElement for Element
type Target = Element
fn dom_element(&self) -> <Element as DomElement>::Target
source§impl From<AbbrBuilder> for Element
impl From<AbbrBuilder> for Element
source§fn from(builder: AbbrBuilder) -> Self
fn from(builder: AbbrBuilder) -> Self
Converts to this type from the input type.
source§impl From<AddressBuilder> for Element
impl From<AddressBuilder> for Element
source§fn from(builder: AddressBuilder) -> Self
fn from(builder: AddressBuilder) -> Self
Converts to this type from the input type.
source§impl From<AreaBuilder> for Element
impl From<AreaBuilder> for Element
source§fn from(builder: AreaBuilder) -> Self
fn from(builder: AreaBuilder) -> Self
Converts to this type from the input type.
source§impl From<ArticleBuilder> for Element
impl From<ArticleBuilder> for Element
source§fn from(builder: ArticleBuilder) -> Self
fn from(builder: ArticleBuilder) -> Self
Converts to this type from the input type.
source§impl From<AsideBuilder> for Element
impl From<AsideBuilder> for Element
source§fn from(builder: AsideBuilder) -> Self
fn from(builder: AsideBuilder) -> Self
Converts to this type from the input type.
source§impl From<AudioBuilder> for Element
impl From<AudioBuilder> for Element
source§fn from(builder: AudioBuilder) -> Self
fn from(builder: AudioBuilder) -> Self
Converts to this type from the input type.
source§impl From<BaseBuilder> for Element
impl From<BaseBuilder> for Element
source§fn from(builder: BaseBuilder) -> Self
fn from(builder: BaseBuilder) -> Self
Converts to this type from the input type.
source§impl From<BdiBuilder> for Element
impl From<BdiBuilder> for Element
source§fn from(builder: BdiBuilder) -> Self
fn from(builder: BdiBuilder) -> Self
Converts to this type from the input type.
source§impl From<BdoBuilder> for Element
impl From<BdoBuilder> for Element
source§fn from(builder: BdoBuilder) -> Self
fn from(builder: BdoBuilder) -> Self
Converts to this type from the input type.
source§impl From<Blockquote> for Element
impl From<Blockquote> for Element
source§fn from(html_elem: Blockquote) -> Self
fn from(html_elem: Blockquote) -> Self
Converts to this type from the input type.
source§impl From<BlockquoteBuilder> for Element
impl From<BlockquoteBuilder> for Element
source§fn from(builder: BlockquoteBuilder) -> Self
fn from(builder: BlockquoteBuilder) -> Self
Converts to this type from the input type.
source§impl From<ButtonBuilder> for Element
impl From<ButtonBuilder> for Element
source§fn from(builder: ButtonBuilder) -> Self
fn from(builder: ButtonBuilder) -> Self
Converts to this type from the input type.
source§impl From<CanvasBuilder> for Element
impl From<CanvasBuilder> for Element
source§fn from(builder: CanvasBuilder) -> Self
fn from(builder: CanvasBuilder) -> Self
Converts to this type from the input type.
source§impl From<CaptionBuilder> for Element
impl From<CaptionBuilder> for Element
source§fn from(builder: CaptionBuilder) -> Self
fn from(builder: CaptionBuilder) -> Self
Converts to this type from the input type.
source§impl From<CiteBuilder> for Element
impl From<CiteBuilder> for Element
source§fn from(builder: CiteBuilder) -> Self
fn from(builder: CiteBuilder) -> Self
Converts to this type from the input type.
source§impl From<CodeBuilder> for Element
impl From<CodeBuilder> for Element
source§fn from(builder: CodeBuilder) -> Self
fn from(builder: CodeBuilder) -> Self
Converts to this type from the input type.
source§impl From<ColBuilder> for Element
impl From<ColBuilder> for Element
source§fn from(builder: ColBuilder) -> Self
fn from(builder: ColBuilder) -> Self
Converts to this type from the input type.
source§impl From<ColgroupBuilder> for Element
impl From<ColgroupBuilder> for Element
source§fn from(builder: ColgroupBuilder) -> Self
fn from(builder: ColgroupBuilder) -> Self
Converts to this type from the input type.
source§impl From<DataBuilder> for Element
impl From<DataBuilder> for Element
source§fn from(builder: DataBuilder) -> Self
fn from(builder: DataBuilder) -> Self
Converts to this type from the input type.
source§impl From<DatalistBuilder> for Element
impl From<DatalistBuilder> for Element
source§fn from(builder: DatalistBuilder) -> Self
fn from(builder: DatalistBuilder) -> Self
Converts to this type from the input type.
source§impl From<DelBuilder> for Element
impl From<DelBuilder> for Element
source§fn from(builder: DelBuilder) -> Self
fn from(builder: DelBuilder) -> Self
Converts to this type from the input type.
source§impl From<DetailsBuilder> for Element
impl From<DetailsBuilder> for Element
source§fn from(builder: DetailsBuilder) -> Self
fn from(builder: DetailsBuilder) -> Self
Converts to this type from the input type.
source§impl From<DfnBuilder> for Element
impl From<DfnBuilder> for Element
source§fn from(builder: DfnBuilder) -> Self
fn from(builder: DfnBuilder) -> Self
Converts to this type from the input type.
source§impl From<DialogBuilder> for Element
impl From<DialogBuilder> for Element
source§fn from(builder: DialogBuilder) -> Self
fn from(builder: DialogBuilder) -> Self
Converts to this type from the input type.
source§impl From<DivBuilder> for Element
impl From<DivBuilder> for Element
source§fn from(builder: DivBuilder) -> Self
fn from(builder: DivBuilder) -> Self
Converts to this type from the input type.
source§impl From<ElementBuilder> for Element
impl From<ElementBuilder> for Element
source§fn from(builder: ElementBuilder) -> Element
fn from(builder: ElementBuilder) -> Element
Converts to this type from the input type.
source§impl From<EmbedBuilder> for Element
impl From<EmbedBuilder> for Element
source§fn from(builder: EmbedBuilder) -> Self
fn from(builder: EmbedBuilder) -> Self
Converts to this type from the input type.
source§impl From<FieldsetBuilder> for Element
impl From<FieldsetBuilder> for Element
source§fn from(builder: FieldsetBuilder) -> Self
fn from(builder: FieldsetBuilder) -> Self
Converts to this type from the input type.
source§fn from(html_elem: Figcaption) -> Self
fn from(html_elem: Figcaption) -> Self
Converts to this type from the input type.
source§fn from(builder: FigcaptionBuilder) -> Self
fn from(builder: FigcaptionBuilder) -> Self
Converts to this type from the input type.
source§impl From<FigureBuilder> for Element
impl From<FigureBuilder> for Element
source§fn from(builder: FigureBuilder) -> Self
fn from(builder: FigureBuilder) -> Self
Converts to this type from the input type.
source§fn from(builder: FooterBuilder) -> Self
fn from(builder: FooterBuilder) -> Self
Converts to this type from the input type.
source§impl From<FormBuilder> for Element
impl From<FormBuilder> for Element
source§fn from(builder: FormBuilder) -> Self
fn from(builder: FormBuilder) -> Self
Converts to this type from the input type.
source§impl From<HeadBuilder> for Element
impl From<HeadBuilder> for Element
source§fn from(builder: HeadBuilder) -> Self
fn from(builder: HeadBuilder) -> Self
Converts to this type from the input type.
source§impl From<HeaderBuilder> for Element
impl From<HeaderBuilder> for Element
source§fn from(builder: HeaderBuilder) -> Self
fn from(builder: HeaderBuilder) -> Self
Converts to this type from the input type.
source§impl From<HgroupBuilder> for Element
impl From<HgroupBuilder> for Element
source§fn from(builder: HgroupBuilder) -> Self
fn from(builder: HgroupBuilder) -> Self
Converts to this type from the input type.
source§impl From<IframeBuilder> for Element
impl From<IframeBuilder> for Element
source§fn from(builder: IframeBuilder) -> Self
fn from(builder: IframeBuilder) -> Self
Converts to this type from the input type.
source§impl From<ImgBuilder> for Element
impl From<ImgBuilder> for Element
source§fn from(builder: ImgBuilder) -> Self
fn from(builder: ImgBuilder) -> Self
Converts to this type from the input type.
source§impl From<InputBuilder> for Element
impl From<InputBuilder> for Element
source§fn from(builder: InputBuilder) -> Self
fn from(builder: InputBuilder) -> Self
Converts to this type from the input type.
source§impl From<InsBuilder> for Element
impl From<InsBuilder> for Element
source§fn from(builder: InsBuilder) -> Self
fn from(builder: InsBuilder) -> Self
Converts to this type from the input type.
source§impl From<KbdBuilder> for Element
impl From<KbdBuilder> for Element
source§fn from(builder: KbdBuilder) -> Self
fn from(builder: KbdBuilder) -> Self
Converts to this type from the input type.
source§impl From<LabelBuilder> for Element
impl From<LabelBuilder> for Element
source§fn from(builder: LabelBuilder) -> Self
fn from(builder: LabelBuilder) -> Self
Converts to this type from the input type.
source§impl From<LegendBuilder> for Element
impl From<LegendBuilder> for Element
source§fn from(builder: LegendBuilder) -> Self
fn from(builder: LegendBuilder) -> Self
Converts to this type from the input type.
source§impl From<LinkBuilder> for Element
impl From<LinkBuilder> for Element
source§fn from(builder: LinkBuilder) -> Self
fn from(builder: LinkBuilder) -> Self
Converts to this type from the input type.
source§impl From<MainBuilder> for Element
impl From<MainBuilder> for Element
source§fn from(builder: MainBuilder) -> Self
fn from(builder: MainBuilder) -> Self
Converts to this type from the input type.
source§impl From<MapBuilder> for Element
impl From<MapBuilder> for Element
source§fn from(builder: MapBuilder) -> Self
fn from(builder: MapBuilder) -> Self
Converts to this type from the input type.
source§impl From<MarkBuilder> for Element
impl From<MarkBuilder> for Element
source§fn from(builder: MarkBuilder) -> Self
fn from(builder: MarkBuilder) -> Self
Converts to this type from the input type.
source§impl From<MenuBuilder> for Element
impl From<MenuBuilder> for Element
source§fn from(builder: MenuBuilder) -> Self
fn from(builder: MenuBuilder) -> Self
Converts to this type from the input type.
source§impl From<MetaBuilder> for Element
impl From<MetaBuilder> for Element
source§fn from(builder: MetaBuilder) -> Self
fn from(builder: MetaBuilder) -> Self
Converts to this type from the input type.
source§impl From<MeterBuilder> for Element
impl From<MeterBuilder> for Element
source§fn from(builder: MeterBuilder) -> Self
fn from(builder: MeterBuilder) -> Self
Converts to this type from the input type.
source§fn from(builder: NavBuilder) -> Self
fn from(builder: NavBuilder) -> Self
Converts to this type from the input type.
source§impl From<NoscriptBuilder> for Element
impl From<NoscriptBuilder> for Element
source§fn from(builder: NoscriptBuilder) -> Self
fn from(builder: NoscriptBuilder) -> Self
Converts to this type from the input type.
source§impl From<ObjectBuilder> for Element
impl From<ObjectBuilder> for Element
source§fn from(builder: ObjectBuilder) -> Self
fn from(builder: ObjectBuilder) -> Self
Converts to this type from the input type.
source§impl From<OptgroupBuilder> for Element
impl From<OptgroupBuilder> for Element
source§fn from(builder: OptgroupBuilder) -> Self
fn from(builder: OptgroupBuilder) -> Self
Converts to this type from the input type.
source§impl From<OptionBuilder> for Element
impl From<OptionBuilder> for Element
source§fn from(builder: OptionBuilder) -> Self
fn from(builder: OptionBuilder) -> Self
Converts to this type from the input type.
source§impl From<OutputBuilder> for Element
impl From<OutputBuilder> for Element
source§fn from(builder: OutputBuilder) -> Self
fn from(builder: OutputBuilder) -> Self
Converts to this type from the input type.
source§impl From<ParamBuilder> for Element
impl From<ParamBuilder> for Element
source§fn from(builder: ParamBuilder) -> Self
fn from(builder: ParamBuilder) -> Self
Converts to this type from the input type.
source§impl From<PictureBuilder> for Element
impl From<PictureBuilder> for Element
source§fn from(builder: PictureBuilder) -> Self
fn from(builder: PictureBuilder) -> Self
Converts to this type from the input type.
source§impl From<PreBuilder> for Element
impl From<PreBuilder> for Element
source§fn from(builder: PreBuilder) -> Self
fn from(builder: PreBuilder) -> Self
Converts to this type from the input type.
source§impl From<ProgressBuilder> for Element
impl From<ProgressBuilder> for Element
source§fn from(builder: ProgressBuilder) -> Self
fn from(builder: ProgressBuilder) -> Self
Converts to this type from the input type.
source§impl<E> From<ReadSignal<E>> for Elementwhere
E: 'static + DomElement,
impl<E> From<ReadSignal<E>> for Elementwhere
E: 'static + DomElement,
source§impl From<RtcBuilder> for Element
impl From<RtcBuilder> for Element
source§fn from(builder: RtcBuilder) -> Self
fn from(builder: RtcBuilder) -> Self
Converts to this type from the input type.
source§impl From<RubyBuilder> for Element
impl From<RubyBuilder> for Element
source§fn from(builder: RubyBuilder) -> Self
fn from(builder: RubyBuilder) -> Self
Converts to this type from the input type.
source§impl From<SampBuilder> for Element
impl From<SampBuilder> for Element
source§fn from(builder: SampBuilder) -> Self
fn from(builder: SampBuilder) -> Self
Converts to this type from the input type.
source§impl From<ScriptBuilder> for Element
impl From<ScriptBuilder> for Element
source§fn from(builder: ScriptBuilder) -> Self
fn from(builder: ScriptBuilder) -> Self
Converts to this type from the input type.
source§impl From<SectionBuilder> for Element
impl From<SectionBuilder> for Element
source§fn from(builder: SectionBuilder) -> Self
fn from(builder: SectionBuilder) -> Self
Converts to this type from the input type.
source§impl From<SelectBuilder> for Element
impl From<SelectBuilder> for Element
source§fn from(builder: SelectBuilder) -> Self
fn from(builder: SelectBuilder) -> Self
Converts to this type from the input type.
source§impl From<SmallBuilder> for Element
impl From<SmallBuilder> for Element
source§fn from(builder: SmallBuilder) -> Self
fn from(builder: SmallBuilder) -> Self
Converts to this type from the input type.
source§impl From<SourceBuilder> for Element
impl From<SourceBuilder> for Element
source§fn from(builder: SourceBuilder) -> Self
fn from(builder: SourceBuilder) -> Self
Converts to this type from the input type.
source§impl From<SpanBuilder> for Element
impl From<SpanBuilder> for Element
source§fn from(builder: SpanBuilder) -> Self
fn from(builder: SpanBuilder) -> Self
Converts to this type from the input type.
source§impl From<StrongBuilder> for Element
impl From<StrongBuilder> for Element
source§fn from(builder: StrongBuilder) -> Self
fn from(builder: StrongBuilder) -> Self
Converts to this type from the input type.
source§impl From<StyleBuilder> for Element
impl From<StyleBuilder> for Element
source§fn from(builder: StyleBuilder) -> Self
fn from(builder: StyleBuilder) -> Self
Converts to this type from the input type.
source§impl From<SubBuilder> for Element
impl From<SubBuilder> for Element
source§fn from(builder: SubBuilder) -> Self
fn from(builder: SubBuilder) -> Self
Converts to this type from the input type.
source§impl From<SummaryBuilder> for Element
impl From<SummaryBuilder> for Element
source§fn from(builder: SummaryBuilder) -> Self
fn from(builder: SummaryBuilder) -> Self
Converts to this type from the input type.
source§impl From<SupBuilder> for Element
impl From<SupBuilder> for Element
source§fn from(builder: SupBuilder) -> Self
fn from(builder: SupBuilder) -> Self
Converts to this type from the input type.
source§impl From<TableBuilder> for Element
impl From<TableBuilder> for Element
source§fn from(builder: TableBuilder) -> Self
fn from(builder: TableBuilder) -> Self
Converts to this type from the input type.
source§impl From<TbodyBuilder> for Element
impl From<TbodyBuilder> for Element
source§fn from(builder: TbodyBuilder) -> Self
fn from(builder: TbodyBuilder) -> Self
Converts to this type from the input type.
source§impl From<TextareaBuilder> for Element
impl From<TextareaBuilder> for Element
source§fn from(builder: TextareaBuilder) -> Self
fn from(builder: TextareaBuilder) -> Self
Converts to this type from the input type.
source§impl From<TfootBuilder> for Element
impl From<TfootBuilder> for Element
source§fn from(builder: TfootBuilder) -> Self
fn from(builder: TfootBuilder) -> Self
Converts to this type from the input type.
source§impl From<TheadBuilder> for Element
impl From<TheadBuilder> for Element
source§fn from(builder: TheadBuilder) -> Self
fn from(builder: TheadBuilder) -> Self
Converts to this type from the input type.
source§impl From<TimeBuilder> for Element
impl From<TimeBuilder> for Element
source§fn from(builder: TimeBuilder) -> Self
fn from(builder: TimeBuilder) -> Self
Converts to this type from the input type.
source§impl From<TitleBuilder> for Element
impl From<TitleBuilder> for Element
source§fn from(builder: TitleBuilder) -> Self
fn from(builder: TitleBuilder) -> Self
Converts to this type from the input type.
source§impl From<TrackBuilder> for Element
impl From<TrackBuilder> for Element
source§fn from(builder: TrackBuilder) -> Self
fn from(builder: TrackBuilder) -> Self
Converts to this type from the input type.
source§impl From<VarBuilder> for Element
impl From<VarBuilder> for Element
source§fn from(builder: VarBuilder) -> Self
fn from(builder: VarBuilder) -> Self
Converts to this type from the input type.
source§impl From<VideoBuilder> for Element
impl From<VideoBuilder> for Element
source§fn from(builder: VideoBuilder) -> Self
fn from(builder: VideoBuilder) -> Self
Converts to this type from the input type.
source§impl From<WbrBuilder> for Element
impl From<WbrBuilder> for Element
source§fn from(builder: WbrBuilder) -> Self
fn from(builder: WbrBuilder) -> Self
Converts to this type from the input type.