[][src]Struct rdxl_scaffolding::dom::Script

pub struct Script {
    pub async_: bool,
    pub charset: String,
    pub defer: bool,
    pub integrity: String,
    pub crossorigin: String,
    pub src: String,
    pub type_: String,
    pub children: Vec<ScriptChildren>,
}

Fields

async_: boolcharset: Stringdefer: boolintegrity: Stringcrossorigin: Stringsrc: Stringtype_: Stringchildren: Vec<ScriptChildren>

Implementations

impl Script[src]

pub fn new() -> Script[src]

pub fn set_children(self, v: Vec<ScriptChildren>) -> Script[src]

pub fn set_async_(self, v: bool) -> Script[src]

pub fn set_charset(self, v: String) -> Script[src]

pub fn set_defer(self, v: bool) -> Script[src]

pub fn set_integrity(self, v: String) -> Script[src]

pub fn set_crossorigin(self, v: String) -> Script[src]

pub fn set_src(self, v: String) -> Script[src]

pub fn set_type_(self, v: String) -> Script[src]

Trait Implementations

impl Display for Script[src]

Auto Trait Implementations

impl !RefUnwindSafe for Script

impl !Send for Script

impl !Sync for Script

impl Unpin for Script

impl !UnwindSafe for Script

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<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.