[][src]Struct moxie_dom::elements::text_semantics::DelBuilder

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

The HTML <del> element represents a range of text that has been deleted from a document.

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

Implementations

impl DelBuilder[src]

pub fn build(self) -> Del[src]

Initialize the element with all of the attributes so far.

impl DelBuilder[src]

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

A URI for a resource that explains the change (for example, meeting minutes).

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

This attribute indicates the time and date of the change and must be a valid date string with an optional time. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp. For the format of the string without a time, see Date strings. The format of the string if it includes both date and time is covered in Local date and time strings.

Trait Implementations

impl Element for DelBuilder[src]

impl<E> EventTarget<E> for DelBuilder where
    E: GlobalEvent
[src]

impl GlobalEventHandler for DelBuilder[src]

impl HtmlElement for DelBuilder[src]

impl Node for DelBuilder[src]

Auto Trait Implementations

impl !RefUnwindSafe for DelBuilder

impl !Send for DelBuilder

impl !Sync for DelBuilder

impl Unpin for DelBuilder

impl !UnwindSafe for DelBuilder

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<N> Child for N where
    N: Node
[src]

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>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.