Struct moxie_dom::elements::metadata::Base[][src]

#[must_use = "needs to be bound to a parent"]pub struct Base { /* fields omitted */ }

The HTML <base> element specifies the base URL to use for all relative URLs contained within a document. There can be only one <base> element in a document.

If either of its inherent attributes are specified, this element must come before other elements with attributes whose values are URLs, such as ’s href attribute.

The initialized element, ready to be bound to a parent.

Trait Implementations

impl Element for Base[src]

impl MetadataContent for Base[src]

impl NodeBuilder for Base[src]

type Output = Self

The type of the DOM node

fn build(self) -> Self[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for Base[src]

Auto Trait Implementations

impl !RefUnwindSafe for Base

impl !Send for Base

impl !Sync for Base

impl Unpin for Base

impl !UnwindSafe for Base

Blanket Implementations

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

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

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

impl<N> Child for N where
    N: NodeWrapper

impl<T> Downcast for T where
    T: Any

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.