Struct GenericElement

Source
pub struct GenericElement { /* private fields */ }

Trait Implementations§

Source§

impl AsRef<Element> for GenericElement

Source§

fn as_ref(&self) -> &Element

Converts this type into a shared reference of the (usually inferred) input type.
Source§

impl Debug for GenericElement

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl From<Element> for GenericElement

Source§

fn from(inner: Element) -> Self

Converts to this type from the input type.
Source§

impl From<GenericElement> for Element

Source§

fn from(value: GenericElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlAnchorElement> for GenericElement

Source§

fn from(element: HtmlAnchorElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlAreaElement> for GenericElement

Source§

fn from(element: HtmlAreaElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlAudioElement> for GenericElement

Source§

fn from(element: HtmlAudioElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlBaseElement> for GenericElement

Source§

fn from(element: HtmlBaseElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlBodyElement> for GenericElement

Source§

fn from(element: HtmlBodyElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlBrElement> for GenericElement

Source§

fn from(element: HtmlBrElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlButtonElement> for GenericElement

Source§

fn from(element: HtmlButtonElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlCanvasElement> for GenericElement

Source§

fn from(element: HtmlCanvasElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDListElement> for GenericElement

Source§

fn from(element: HtmlDListElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDataElement> for GenericElement

Source§

fn from(element: HtmlDataElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDataListElement> for GenericElement

Source§

fn from(element: HtmlDataListElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDetailsElement> for GenericElement

Source§

fn from(element: HtmlDetailsElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDialogElement> for GenericElement

Source§

fn from(element: HtmlDialogElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlDivElement> for GenericElement

Source§

fn from(element: HtmlDivElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlEmbedElement> for GenericElement

Source§

fn from(element: HtmlEmbedElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlFieldSetElement> for GenericElement

Source§

fn from(element: HtmlFieldSetElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlFormElement> for GenericElement

Source§

fn from(element: HtmlFormElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlHeadElement> for GenericElement

Source§

fn from(element: HtmlHeadElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlHeadingElement> for GenericElement

Source§

fn from(element: HtmlHeadingElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlHrElement> for GenericElement

Source§

fn from(element: HtmlHrElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlHtmlElement> for GenericElement

Source§

fn from(element: HtmlHtmlElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlIFrameElement> for GenericElement

Source§

fn from(element: HtmlIFrameElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlImageElement> for GenericElement

Source§

fn from(element: HtmlImageElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlInputElement> for GenericElement

Source§

fn from(element: HtmlInputElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlLabelElement> for GenericElement

Source§

fn from(element: HtmlLabelElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlLegendElement> for GenericElement

Source§

fn from(element: HtmlLegendElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlLiElement> for GenericElement

Source§

fn from(element: HtmlLiElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlLinkElement> for GenericElement

Source§

fn from(element: HtmlLinkElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlMapElement> for GenericElement

Source§

fn from(element: HtmlMapElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlMetaElement> for GenericElement

Source§

fn from(element: HtmlMetaElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlMeterElement> for GenericElement

Source§

fn from(element: HtmlMeterElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlModElement> for GenericElement

Source§

fn from(element: HtmlModElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlOListElement> for GenericElement

Source§

fn from(element: HtmlOListElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlObjectElement> for GenericElement

Source§

fn from(element: HtmlObjectElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlOptGroupElement> for GenericElement

Source§

fn from(element: HtmlOptGroupElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlOptionElement> for GenericElement

Source§

fn from(element: HtmlOptionElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlOutputElement> for GenericElement

Source§

fn from(element: HtmlOutputElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlParagraphElement> for GenericElement

Source§

fn from(element: HtmlParagraphElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlParamElement> for GenericElement

Source§

fn from(element: HtmlParamElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlPictureElement> for GenericElement

Source§

fn from(element: HtmlPictureElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlPreElement> for GenericElement

Source§

fn from(element: HtmlPreElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlProgressElement> for GenericElement

Source§

fn from(element: HtmlProgressElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlQuoteElement> for GenericElement

Source§

fn from(element: HtmlQuoteElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlScriptElement> for GenericElement

Source§

fn from(element: HtmlScriptElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlSelectElement> for GenericElement

Source§

fn from(element: HtmlSelectElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlSlotElement> for GenericElement

Source§

fn from(element: HtmlSlotElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlSourceElement> for GenericElement

Source§

fn from(element: HtmlSourceElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlSpanElement> for GenericElement

Source§

fn from(element: HtmlSpanElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlStyleElement> for GenericElement

Source§

fn from(element: HtmlStyleElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableCaptionElement> for GenericElement

Source§

fn from(element: HtmlTableCaptionElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableCellElement> for GenericElement

Source§

fn from(element: HtmlTableCellElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableColElement> for GenericElement

Source§

fn from(element: HtmlTableColElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableElement> for GenericElement

Source§

fn from(element: HtmlTableElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableRowElement> for GenericElement

Source§

fn from(element: HtmlTableRowElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTableSectionElement> for GenericElement

Source§

fn from(element: HtmlTableSectionElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTemplateElement> for GenericElement

Source§

fn from(element: HtmlTemplateElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTextAreaElement> for GenericElement

Source§

fn from(element: HtmlTextAreaElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTimeElement> for GenericElement

Source§

fn from(element: HtmlTimeElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTitleElement> for GenericElement

Source§

fn from(element: HtmlTitleElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlTrackElement> for GenericElement

Source§

fn from(element: HtmlTrackElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlUListElement> for GenericElement

Source§

fn from(element: HtmlUListElement) -> Self

Converts to this type from the input type.
Source§

impl From<HtmlVideoElement> for GenericElement

Source§

fn from(element: HtmlVideoElement) -> Self

Converts to this type from the input type.
Source§

impl TryFrom<GenericElement> for GenericHtmlElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlAnchorElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlAreaElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlAudioElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlBaseElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlBodyElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlBrElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlButtonElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlCanvasElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDListElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDataElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDataListElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDetailsElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDialogElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlDivElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlEmbedElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlFieldSetElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlFormElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlHeadElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlHeadingElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlHrElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlHtmlElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlIFrameElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlImageElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlInputElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlLabelElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlLegendElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlLiElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlLinkElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlMapElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlMetaElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlMeterElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlModElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlOListElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlObjectElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlOptGroupElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlOptionElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlOutputElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlParagraphElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlParamElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlPictureElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlPreElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlProgressElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlQuoteElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlScriptElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlSelectElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlSlotElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlSourceElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlSpanElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlStyleElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableCaptionElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableCellElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableColElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableRowElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTableSectionElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTemplateElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTextAreaElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTimeElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTitleElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlTrackElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlUListElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericElement> for HtmlVideoElement

Source§

type Error = InvalidCast<GenericElement>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericElement) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl TryFrom<GenericNode> for GenericElement

Source§

type Error = InvalidCast<GenericNode>

The type returned in the event of a conversion error.
Source§

fn try_from(value: GenericNode) -> Result<Self, Self::Error>

Performs the conversion.
Source§

impl Write for GenericElement

Source§

fn write(&self, writer: &mut Writer)

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.