[][src]Struct typed_html::elements::script

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

Fields

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

Methods

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

pub fn new() -> Self[src]

Trait Implementations

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

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

impl<T> FlowContent<T> for script<T> where
    T: OutputType + Send
[src]

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

type Item = script<T>

The type of the elements being iterated over.

type IntoIter = IntoIter<script<T>>

Which kind of iterator are we turning this into?

impl<T> MetadataContent<T> for script<T> where
    T: OutputType + Send
[src]

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

impl<T> PhrasingContent<T> for script<T> where
    T: OutputType + Send
[src]

impl<T> TableColumnContent<T> for script<T> where
    T: OutputType + Send
[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for script<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.