Struct moxie_dom::elements::media::Audio[][src]

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

The HTML <audio> element is used to embed sound content in documents. It may contain one or more audio sources, represented using the src attribute or the <source> element: the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.

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

Trait Implementations

impl Element for Audio[src]

impl EmbeddedContent for Audio[src]

impl FlowContent for Audio[src]

impl InteractiveContent for Audio[src]

impl NodeBuilder for Audio[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 Audio[src]

impl PalpableContent for Audio[src]

impl PhrasingContent for Audio[src]

Auto Trait Implementations

impl !RefUnwindSafe for Audio

impl !Send for Audio

impl !Sync for Audio

impl Unpin for Audio

impl !UnwindSafe for Audio

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.