Struct moxie_dom::elements::text_content::BlockquoteBuilder[][src]

#[must_use = "needs to be built"]pub struct BlockquoteBuilder { /* fields omitted */ }

The HTML <blockquote> element (or HTML Block Quotation Element) indicates that the enclosed text is an extended quotation. Usually, this is rendered visually by indentation. A URL for the source of the quotation may be given using the cite attribute, while a text representation of the source can be given using the <cite> element.

A type for initializing the element’s attributes before calling build.


impl BlockquoteBuilder[src]

pub fn cite(self, to_set: impl ToString) -> Self[src]

A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.

Trait Implementations

impl ElementBuilder for BlockquoteBuilder[src]

impl<E> EventTarget<E> for BlockquoteBuilder where
    E: GlobalEvent

impl GlobalEventHandler for BlockquoteBuilder[src]

impl HtmlElementBuilder for BlockquoteBuilder[src]

impl NodeBuilder for BlockquoteBuilder[src]

type Output = Blockquote

The type of the DOM node

fn build(self) -> Blockquote[src]

Initialize the element with all of the attributes so far.

impl NodeWrapper for BlockquoteBuilder[src]

impl<Child> Parent<Child> for BlockquoteBuilder where
    Child: FlowContent

Auto Trait Implementations

impl !RefUnwindSafe for BlockquoteBuilder

impl !Send for BlockquoteBuilder

impl !Sync for BlockquoteBuilder

impl Unpin for BlockquoteBuilder

impl !UnwindSafe for BlockquoteBuilder

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.