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

pub trait NodeWrapper: Memoized + Sized {
    fn raw_node_that_has_sharp_edges_please_be_careful(&self) -> &Node { ... }
}

Node is an interface from which various types of DOM API objects inherit, allowing those types to be treated similarly; for example, inheriting the same set of methods, or being testable in the same way.

Note: this trait cannot be implemented outside of this crate and is not intended for direct use in most cases. See the crate::interfaces::element, module and its siblings, as well as the Parent and Child traits in this module.

Provided methods

fn raw_node_that_has_sharp_edges_please_be_careful(&self) -> &Node[src]

Retrieves access to the raw HTML element underlying the (CachedNode).

Because this offers an escape hatch around the memoized mutations, it should be used with caution. Also because of this, it has a silly name intended to loudly announce that care must be taken.

Code called by the root function of your application will be run quite frequently and so the tools for memoization are important for keeping your application responsive. If you have legitimate needs for this API, please consider filing an issue with your use case so the maintainers of this crate can consider “official” ways to support it.

Loading content...

Implementors

impl NodeWrapper for Embed[src]

impl NodeWrapper for EmbedBuilder[src]

impl NodeWrapper for Iframe[src]

impl NodeWrapper for IframeBuilder[src]

impl NodeWrapper for Object[src]

impl NodeWrapper for ObjectBuilder[src]

impl NodeWrapper for Param[src]

impl NodeWrapper for ParamBuilder[src]

impl NodeWrapper for Picture[src]

impl NodeWrapper for PictureBuilder[src]

impl NodeWrapper for Source[src]

impl NodeWrapper for SourceBuilder[src]

impl NodeWrapper for Button[src]

impl NodeWrapper for ButtonBuilder[src]

impl NodeWrapper for Datalist[src]

impl NodeWrapper for DatalistBuilder[src]

impl NodeWrapper for Fieldset[src]

impl NodeWrapper for FieldsetBuilder[src]

impl NodeWrapper for Form[src]

impl NodeWrapper for FormBuilder[src]

impl NodeWrapper for Input[src]

impl NodeWrapper for InputBuilder[src]

impl NodeWrapper for Label[src]

impl NodeWrapper for LabelBuilder[src]

impl NodeWrapper for Legend[src]

impl NodeWrapper for LegendBuilder[src]

impl NodeWrapper for Meter[src]

impl NodeWrapper for MeterBuilder[src]

impl NodeWrapper for Optgroup[src]

impl NodeWrapper for OptgroupBuilder[src]

impl NodeWrapper for Option[src]

impl NodeWrapper for OptionBuilder[src]

impl NodeWrapper for Output[src]

impl NodeWrapper for OutputBuilder[src]

impl NodeWrapper for Progress[src]

impl NodeWrapper for ProgressBuilder[src]

impl NodeWrapper for Select[src]

impl NodeWrapper for SelectBuilder[src]

impl NodeWrapper for Textarea[src]

impl NodeWrapper for TextareaBuilder[src]

impl NodeWrapper for Details[src]

impl NodeWrapper for DetailsBuilder[src]

impl NodeWrapper for Dialog[src]

impl NodeWrapper for DialogBuilder[src]

impl NodeWrapper for Menu[src]

impl NodeWrapper for MenuBuilder[src]

impl NodeWrapper for Summary[src]

impl NodeWrapper for SummaryBuilder[src]

impl NodeWrapper for Area[src]

impl NodeWrapper for AreaBuilder[src]

impl NodeWrapper for Audio[src]

impl NodeWrapper for AudioBuilder[src]

impl NodeWrapper for Img[src]

impl NodeWrapper for ImgBuilder[src]

impl NodeWrapper for Map[src]

impl NodeWrapper for MapBuilder[src]

impl NodeWrapper for Track[src]

impl NodeWrapper for TrackBuilder[src]

impl NodeWrapper for Video[src]

impl NodeWrapper for VideoBuilder[src]

impl NodeWrapper for Base[src]

impl NodeWrapper for BaseBuilder[src]

impl NodeWrapper for Head[src]

impl NodeWrapper for HeadBuilder[src]

impl NodeWrapper for Link[src]

impl NodeWrapper for LinkBuilder[src]

impl NodeWrapper for Meta[src]

impl NodeWrapper for MetaBuilder[src]

impl NodeWrapper for Style[src]

impl NodeWrapper for StyleBuilder[src]

impl NodeWrapper for Title[src]

impl NodeWrapper for TitleBuilder[src]

impl NodeWrapper for Canvas[src]

impl NodeWrapper for CanvasBuilder[src]

impl NodeWrapper for Noscript[src]

impl NodeWrapper for NoscriptBuilder[src]

impl NodeWrapper for Script[src]

impl NodeWrapper for ScriptBuilder[src]

impl NodeWrapper for Address[src]

impl NodeWrapper for AddressBuilder[src]

impl NodeWrapper for Article[src]

impl NodeWrapper for ArticleBuilder[src]

impl NodeWrapper for Aside[src]

impl NodeWrapper for AsideBuilder[src]

impl NodeWrapper for Footer[src]

impl NodeWrapper for FooterBuilder[src]

impl NodeWrapper for H1[src]

impl NodeWrapper for H1Builder[src]

impl NodeWrapper for H2[src]

impl NodeWrapper for H2Builder[src]

impl NodeWrapper for H3[src]

impl NodeWrapper for H3Builder[src]

impl NodeWrapper for H4[src]

impl NodeWrapper for H4Builder[src]

impl NodeWrapper for H5[src]

impl NodeWrapper for H5Builder[src]

impl NodeWrapper for H6[src]

impl NodeWrapper for H6Builder[src]

impl NodeWrapper for Header[src]

impl NodeWrapper for HeaderBuilder[src]

impl NodeWrapper for Hgroup[src]

impl NodeWrapper for HgroupBuilder[src]

impl NodeWrapper for Main[src]

impl NodeWrapper for MainBuilder[src]

impl NodeWrapper for Nav[src]

impl NodeWrapper for NavBuilder[src]

impl NodeWrapper for Section[src]

impl NodeWrapper for SectionBuilder[src]

impl NodeWrapper for Body[src]

impl NodeWrapper for BodyBuilder[src]

impl NodeWrapper for Html[src]

impl NodeWrapper for HtmlBuilder[src]

impl NodeWrapper for Slot[src]

impl NodeWrapper for SlotBuilder[src]

impl NodeWrapper for Template[src]

impl NodeWrapper for TemplateBuilder[src]

impl NodeWrapper for Caption[src]

impl NodeWrapper for CaptionBuilder[src]

impl NodeWrapper for Col[src]

impl NodeWrapper for ColBuilder[src]

impl NodeWrapper for Colgroup[src]

impl NodeWrapper for ColgroupBuilder[src]

impl NodeWrapper for Table[src]

impl NodeWrapper for TableBuilder[src]

impl NodeWrapper for Tbody[src]

impl NodeWrapper for TbodyBuilder[src]

impl NodeWrapper for Td[src]

impl NodeWrapper for TdBuilder[src]

impl NodeWrapper for Tfoot[src]

impl NodeWrapper for TfootBuilder[src]

impl NodeWrapper for Th[src]

impl NodeWrapper for ThBuilder[src]

impl NodeWrapper for Thead[src]

impl NodeWrapper for TheadBuilder[src]

impl NodeWrapper for Tr[src]

impl NodeWrapper for TrBuilder[src]

impl NodeWrapper for Blockquote[src]

impl NodeWrapper for BlockquoteBuilder[src]

impl NodeWrapper for Dd[src]

impl NodeWrapper for DdBuilder[src]

impl NodeWrapper for Div[src]

impl NodeWrapper for DivBuilder[src]

impl NodeWrapper for Dl[src]

impl NodeWrapper for DlBuilder[src]

impl NodeWrapper for Dt[src]

impl NodeWrapper for DtBuilder[src]

impl NodeWrapper for Figcaption[src]

impl NodeWrapper for FigcaptionBuilder[src]

impl NodeWrapper for Figure[src]

impl NodeWrapper for FigureBuilder[src]

impl NodeWrapper for Hr[src]

impl NodeWrapper for HrBuilder[src]

impl NodeWrapper for Li[src]

impl NodeWrapper for LiBuilder[src]

impl NodeWrapper for Ol[src]

impl NodeWrapper for OlBuilder[src]

impl NodeWrapper for P[src]

impl NodeWrapper for PBuilder[src]

impl NodeWrapper for Pre[src]

impl NodeWrapper for PreBuilder[src]

impl NodeWrapper for Ul[src]

impl NodeWrapper for UlBuilder[src]

impl NodeWrapper for A[src]

impl NodeWrapper for ABuilder[src]

impl NodeWrapper for Abbr[src]

impl NodeWrapper for AbbrBuilder[src]

impl NodeWrapper for B[src]

impl NodeWrapper for BBuilder[src]

impl NodeWrapper for Bdi[src]

impl NodeWrapper for BdiBuilder[src]

impl NodeWrapper for Bdo[src]

impl NodeWrapper for BdoBuilder[src]

impl NodeWrapper for Br[src]

impl NodeWrapper for BrBuilder[src]

impl NodeWrapper for Cite[src]

impl NodeWrapper for CiteBuilder[src]

impl NodeWrapper for Code[src]

impl NodeWrapper for CodeBuilder[src]

impl NodeWrapper for Data[src]

impl NodeWrapper for DataBuilder[src]

impl NodeWrapper for Del[src]

impl NodeWrapper for DelBuilder[src]

impl NodeWrapper for Dfn[src]

impl NodeWrapper for DfnBuilder[src]

impl NodeWrapper for Em[src]

impl NodeWrapper for EmBuilder[src]

impl NodeWrapper for I[src]

impl NodeWrapper for IBuilder[src]

impl NodeWrapper for Ins[src]

impl NodeWrapper for InsBuilder[src]

impl NodeWrapper for Kbd[src]

impl NodeWrapper for KbdBuilder[src]

impl NodeWrapper for Mark[src]

impl NodeWrapper for MarkBuilder[src]

impl NodeWrapper for Q[src]

impl NodeWrapper for QBuilder[src]

impl NodeWrapper for Rb[src]

impl NodeWrapper for RbBuilder[src]

impl NodeWrapper for Rp[src]

impl NodeWrapper for RpBuilder[src]

impl NodeWrapper for Rt[src]

impl NodeWrapper for RtBuilder[src]

impl NodeWrapper for Rtc[src]

impl NodeWrapper for RtcBuilder[src]

impl NodeWrapper for Ruby[src]

impl NodeWrapper for RubyBuilder[src]

impl NodeWrapper for S[src]

impl NodeWrapper for SBuilder[src]

impl NodeWrapper for Samp[src]

impl NodeWrapper for SampBuilder[src]

impl NodeWrapper for Small[src]

impl NodeWrapper for SmallBuilder[src]

impl NodeWrapper for Span[src]

impl NodeWrapper for SpanBuilder[src]

impl NodeWrapper for Strong[src]

impl NodeWrapper for StrongBuilder[src]

impl NodeWrapper for Sub[src]

impl NodeWrapper for SubBuilder[src]

impl NodeWrapper for Sup[src]

impl NodeWrapper for SupBuilder[src]

impl NodeWrapper for Time[src]

impl NodeWrapper for TimeBuilder[src]

impl NodeWrapper for U[src]

impl NodeWrapper for UBuilder[src]

impl NodeWrapper for Var[src]

impl NodeWrapper for VarBuilder[src]

impl NodeWrapper for Wbr[src]

impl NodeWrapper for WbrBuilder[src]

impl NodeWrapper for Text[src]

Loading content...