[][src]Struct typed_html::elements::option

pub struct option<T> where
    T: OutputType + Send
{ pub attrs: Attrs_option, pub data_attributes: Vec<(&'static str, String)>, pub events: T::Events, pub children: Vec<Box<TextNode<T>>>, }

Fields

attrs: Attrs_optiondata_attributes: Vec<(&'static str, String)>events: T::Eventschildren: Vec<Box<TextNode<T>>>

Methods

impl<T> option<T> where
    T: OutputType + Send
[src]

pub fn new() -> Self[src]

Trait Implementations

impl<T> Display for option<T> where
    T: OutputType + Send
[src]

impl<T> Element<T> for option<T> where
    T: OutputType + Send
[src]

impl<T> IntoIterator for option<T> where
    T: OutputType + Send
[src]

type Item = option<T>

The type of the elements being iterated over.

type IntoIter = IntoIter<option<T>>

Which kind of iterator are we turning this into?

impl<T> Node<T> for option<T> where
    T: OutputType + Send
[src]

impl<T> SelectContent<T> for option<T> where
    T: OutputType + Send
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for option<T> where
    T: RefUnwindSafe,
    <T as OutputType>::Events: RefUnwindSafe

impl<T> Send for option<T> where
    <T as OutputType>::Events: Send

impl<T> Sync for option<T> where
    T: Sync,
    <T as OutputType>::Events: Sync

impl<T> Unpin for option<T> where
    <T as OutputType>::Events: Unpin

impl<T> UnwindSafe for option<T> where
    T: UnwindSafe,
    <T as OutputType>::Events: UnwindSafe

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<T> From<T> for T[src]

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToString for T where
    T: Display + ?Sized
[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.

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.