[][src]Struct valerie::Tag

pub struct Tag<T> { /* fields omitted */ }

An HTML Tag

Macros are defined for easier use of few tags. Can also be used to make other tags also.

Implementations

impl<T> Tag<T> where
    T: HtmlElement
[src]

pub fn new() -> Self[src]

Make a new Tag. You have to specify the Element type i.e. Element or HtmlDivElement etc.

Examples

Tag::<html::elements::Div>::new().push("Hello, World!")

impl<T> Tag<T>[src]

pub fn push<U>(self, component: U) -> Self where
    U: Component
[src]

Push components inside the Tag.

Examples

div!().push("Hello, World!")

pub fn push_multiple<U>(self, components: Vec<U>) -> Self where
    U: Component
[src]

Push multiple components. Rarely used. Use push preferably.

Examples

div!().push_multiple(vec![Node::from("Hello, "), Node::from("World!")])

pub fn push_loop<F, U>(self, n: usize, func: F) -> Self where
    F: Fn(usize) -> U,
    U: Component
[src]

Push components as a loop from 0 to n (exclusive).

Examples

div!().push_loop(5, |x| h3!(x))

impl<T> Tag<T> where
    T: 'static, 
[src]

pub fn on_event<F, U>(self, event: impl AsRef<str>, var: U, func: F) -> Self where
    U: 'static,
    F: FnMut(&mut U, &mut Self) + 'static, 
[src]

Attach an event to the Tag.

Examples

let message = StateMutex::new(String::from("App is running"));
button!(message.clone())
    .on_event("mouseover", message.clone(), |x, _| {
        x.put("Mouse pointer is in me".to_string());
    })
    .on_event("mouseout", message.clone(), |x, _| {
        x.put("Mouse pointer is outside".to_string());
    })
    .on_event("mousedown", message.clone(), |x, _| {
        x.put("Mouse button pressed".to_string());
    })

impl<T> Tag<T>[src]

pub fn remove_event(&self, event: impl AsRef<str>)[src]

Remove an event from the Tag.

Examples

let message = StateMutex::new(String::from("App is running"));
button!(message.clone())
    .on_event("mouseover", message.clone(), |x, _| {
        x.put("Mouse pointer is in me".to_string());
    })
    .on_event("mouseout", message.clone(), |x, _| {
        x.put("Mouse pointer is outside".to_string());
    })
    .on_event("mousedown", message.clone(), |x, t| {
        x.put("Mouse button pressed".to_string());
        t.remove_event("mouseout");
    })

pub fn id(self, id: impl AsRef<str>) -> Self[src]

Set the id of the Tag.

Examples

div!("Hello, World!")
    .id("hello-world")

pub fn get_id(&self) -> Option<String>[src]

Get the id of the Tag.

Examples

let heading = h1!("Hello, World!").id("hello-world-id");
div!(heading.clone(), br!(), "id ", heading.get_id().unwrap())

pub fn class(self, class: impl AsRef<str>) -> Self[src]

Set the class of the Tag.

Examples

div!("Hello, World!")
    .class("heading")

pub fn get_class(&self) -> Vec<String>[src]

Get the classes of the Tag.

Examples

let heading = h1!("Hello, World!").class("heading");
div!(heading.clone(), br!(), "class ", heading.get_class().join(" "))

pub fn rem_class(&self, class: impl AsRef<str>)[src]

Remove a class of the Tag.

Examples

let heading = input!("text").class("text-type");
div!(
    heading.clone(),
    br!(),
    button!("Remove class").on_event("click", heading, |x, _| {
        x.rem_class("text-type");
    })
)

pub fn toggle_class(&self, class: impl AsRef<str>)[src]

Toggle a class of the Tag.

Examples

let heading = input!("text").class("text-type");
div!(
    heading.clone(),
    br!(),
    button!("Toggle class").on_event("click", heading, |x, _| {
        x.toggle_class("text-type");
    })
)

impl<T> Tag<T> where
    T: 'static, 
[src]

pub fn attr(self, key: impl AsRef<str>, value: impl Value) -> Self[src]

Set the attribute of the Tag by key and value.

Examples

div!("Hello, World!")
    .attr("id", "hello-world")

impl<T> Tag<T>[src]

pub fn get_attr(&self, key: impl AsRef<str>) -> Option<String>[src]

Get the attribute of the Tag by key.

Examples

let heading = h1!("Hello, World!").attr("id", "hello-world");
div!(
    heading.clone(),
    br!(),
    "attr ",
    heading.get_attr("id").unwrap()
)

pub fn rem_attr(&self, key: impl AsRef<str>)[src]

Remove the attribute of the Tag by key.

Examples

let heading = input!("text").placeholder("Type Something");
div!(
    heading.clone(),
    br!(),
    button!("Remove placeholder").on_event("click", heading, |x, _| {
        x.rem_attr("placeholder");
    })
)

impl Tag<Input>[src]

pub fn bind<T>(self, var: T) -> Self where
    T: StateTrait + 'static,
    T::Value: FromStr + Default
[src]

One way bind to the input element. Any change in the state variable won't be reflected back to the input element.

Examples

let state = StateMutex::new(String::new());
div!(
    state.clone(),
    br!(),
    input!("text").bind(state.clone()),
    input!("text").bind(state)
)

pub fn double_bind<T>(self, var: T) -> Self where
    T: StateTrait + 'static,
    T::Value: FromStr + Default,
    T::Channel: Deref<Target = String>, 
[src]

Two way bind to the input element. Any change in the state variable will be reflected back to the input element.

Examples

let state = StateMutex::new(String::new());
div!(
    state.clone(),
    br!(),
    input!("text").double_bind(state.clone()),
    input!("text").double_bind(state)
)

pub fn bind_func<T, F>(self, var: T, func: F) -> Self where
    T: StateTrait + 'static,
    F: FnOnce(String) -> T::Value,
    F: 'static + Copy
[src]

A function to bind to the input element. This function gets called every time the event input fires i.e. when the user enters and input.

Examples

let state = StateAtomic::new(0usize);
div!(
    state.clone(),
    br!(),
    input!("text").bind_func(state, |x| x.len())
)

impl<T> Tag<T> where
    T: Accept + 'static, 
[src]

pub fn accept(self, value: impl Value) -> Self[src]

Set the value of the accept attribute.

impl<T> Tag<T> where
    T: Accept
[src]

pub fn get_accept(&self) -> Option<String>[src]

Get the value of the accept attribute.

pub fn rem_accept(&self)[src]

Remove the accept attribute from the Tag.

impl<T> Tag<T> where
    T: AcceptCharset + 'static, 
[src]

pub fn accept_charset(self, value: impl Value) -> Self[src]

Set the value of the accept-charset attribute.

impl<T> Tag<T> where
    T: AcceptCharset
[src]

pub fn get_accept_charset(&self) -> Option<String>[src]

Get the value of the accept-charset attribute.

pub fn rem_accept_charset(&self)[src]

Remove the accept-charset attribute from the Tag.

impl<T> Tag<T> where
    T: Accesskey + 'static, 
[src]

pub fn accesskey(self, value: impl Value) -> Self[src]

Set the value of the accesskey attribute.

impl<T> Tag<T> where
    T: Accesskey
[src]

pub fn get_accesskey(&self) -> Option<String>[src]

Get the value of the accesskey attribute.

pub fn rem_accesskey(&self)[src]

Remove the accesskey attribute from the Tag.

impl<T> Tag<T> where
    T: Action + 'static, 
[src]

pub fn action(self, value: impl Value) -> Self[src]

Set the value of the action attribute.

impl<T> Tag<T> where
    T: Action
[src]

pub fn get_action(&self) -> Option<String>[src]

Get the value of the action attribute.

pub fn rem_action(&self)[src]

Remove the action attribute from the Tag.

impl<T> Tag<T> where
    T: Align + 'static, 
[src]

pub fn align(self, value: impl Value) -> Self[src]

Set the value of the align attribute.

impl<T> Tag<T> where
    T: Align
[src]

pub fn get_align(&self) -> Option<String>[src]

Get the value of the align attribute.

pub fn rem_align(&self)[src]

Remove the align attribute from the Tag.

impl<T> Tag<T> where
    T: Allow + 'static, 
[src]

pub fn allow(self, value: impl Value) -> Self[src]

Set the value of the allow attribute.

impl<T> Tag<T> where
    T: Allow
[src]

pub fn get_allow(&self) -> Option<String>[src]

Get the value of the allow attribute.

pub fn rem_allow(&self)[src]

Remove the allow attribute from the Tag.

impl<T> Tag<T> where
    T: Alt + 'static, 
[src]

pub fn alt(self, value: impl Value) -> Self[src]

Set the value of the alt attribute.

impl<T> Tag<T> where
    T: Alt
[src]

pub fn get_alt(&self) -> Option<String>[src]

Get the value of the alt attribute.

pub fn rem_alt(&self)[src]

Remove the alt attribute from the Tag.

impl<T> Tag<T> where
    T: Async + 'static, 
[src]

pub fn set_async(self, value: impl Value) -> Self[src]

Set the value of the async attribute.

impl<T> Tag<T> where
    T: Async
[src]

pub fn get_set_async(&self) -> Option<String>[src]

Get the value of the async attribute.

pub fn rem_set_async(&self)[src]

Remove the async attribute from the Tag.

impl<T> Tag<T> where
    T: Autocapitalize + 'static, 
[src]

pub fn autocapitalize(self, value: impl Value) -> Self[src]

Set the value of the autocapitalize attribute.

impl<T> Tag<T> where
    T: Autocapitalize
[src]

pub fn get_autocapitalize(&self) -> Option<String>[src]

Get the value of the autocapitalize attribute.

pub fn rem_autocapitalize(&self)[src]

Remove the autocapitalize attribute from the Tag.

impl<T> Tag<T> where
    T: Autocomplete + 'static, 
[src]

pub fn autocomplete(self, value: impl Value) -> Self[src]

Set the value of the autocomplete attribute.

impl<T> Tag<T> where
    T: Autocomplete
[src]

pub fn get_autocomplete(&self) -> Option<String>[src]

Get the value of the autocomplete attribute.

pub fn rem_autocomplete(&self)[src]

Remove the autocomplete attribute from the Tag.

impl<T> Tag<T> where
    T: Autofocus + 'static, 
[src]

pub fn autofocus(self, value: impl Value) -> Self[src]

Set the value of the autofocus attribute.

impl<T> Tag<T> where
    T: Autofocus
[src]

pub fn get_autofocus(&self) -> Option<String>[src]

Get the value of the autofocus attribute.

pub fn rem_autofocus(&self)[src]

Remove the autofocus attribute from the Tag.

impl<T> Tag<T> where
    T: Autoplay + 'static, 
[src]

pub fn autoplay(self, value: impl Value) -> Self[src]

Set the value of the autoplay attribute.

impl<T> Tag<T> where
    T: Autoplay
[src]

pub fn get_autoplay(&self) -> Option<String>[src]

Get the value of the autoplay attribute.

pub fn rem_autoplay(&self)[src]

Remove the autoplay attribute from the Tag.

impl<T> Tag<T> where
    T: Background + 'static, 
[src]

pub fn background(self, value: impl Value) -> Self[src]

Set the value of the background attribute.

impl<T> Tag<T> where
    T: Background
[src]

pub fn get_background(&self) -> Option<String>[src]

Get the value of the background attribute.

pub fn rem_background(&self)[src]

Remove the background attribute from the Tag.

impl<T> Tag<T> where
    T: Bgcolor + 'static, 
[src]

pub fn bgcolor(self, value: impl Value) -> Self[src]

Set the value of the bgcolor attribute.

impl<T> Tag<T> where
    T: Bgcolor
[src]

pub fn get_bgcolor(&self) -> Option<String>[src]

Get the value of the bgcolor attribute.

pub fn rem_bgcolor(&self)[src]

Remove the bgcolor attribute from the Tag.

impl<T> Tag<T> where
    T: Border + 'static, 
[src]

pub fn border(self, value: impl Value) -> Self[src]

Set the value of the border attribute.

impl<T> Tag<T> where
    T: Border
[src]

pub fn get_border(&self) -> Option<String>[src]

Get the value of the border attribute.

pub fn rem_border(&self)[src]

Remove the border attribute from the Tag.

impl<T> Tag<T> where
    T: Buffered + 'static, 
[src]

pub fn buffered(self, value: impl Value) -> Self[src]

Set the value of the buffered attribute.

impl<T> Tag<T> where
    T: Buffered
[src]

pub fn get_buffered(&self) -> Option<String>[src]

Get the value of the buffered attribute.

pub fn rem_buffered(&self)[src]

Remove the buffered attribute from the Tag.

impl<T> Tag<T> where
    T: Capture + 'static, 
[src]

pub fn capture(self, value: impl Value) -> Self[src]

Set the value of the capture attribute.

impl<T> Tag<T> where
    T: Capture
[src]

pub fn get_capture(&self) -> Option<String>[src]

Get the value of the capture attribute.

pub fn rem_capture(&self)[src]

Remove the capture attribute from the Tag.

impl<T> Tag<T> where
    T: Charset + 'static, 
[src]

pub fn charset(self, value: impl Value) -> Self[src]

Set the value of the charset attribute.

impl<T> Tag<T> where
    T: Charset
[src]

pub fn get_charset(&self) -> Option<String>[src]

Get the value of the charset attribute.

pub fn rem_charset(&self)[src]

Remove the charset attribute from the Tag.

impl<T> Tag<T> where
    T: Checked + 'static, 
[src]

pub fn checked(self, value: impl Value) -> Self[src]

Set the value of the checked attribute.

impl<T> Tag<T> where
    T: Checked
[src]

pub fn get_checked(&self) -> Option<String>[src]

Get the value of the checked attribute.

pub fn rem_checked(&self)[src]

Remove the checked attribute from the Tag.

impl<T> Tag<T> where
    T: Cite + 'static, 
[src]

pub fn cite(self, value: impl Value) -> Self[src]

Set the value of the cite attribute.

impl<T> Tag<T> where
    T: Cite
[src]

pub fn get_cite(&self) -> Option<String>[src]

Get the value of the cite attribute.

pub fn rem_cite(&self)[src]

Remove the cite attribute from the Tag.

impl<T> Tag<T> where
    T: Color + 'static, 
[src]

pub fn color(self, value: impl Value) -> Self[src]

Set the value of the color attribute.

impl<T> Tag<T> where
    T: Color
[src]

pub fn get_color(&self) -> Option<String>[src]

Get the value of the color attribute.

pub fn rem_color(&self)[src]

Remove the color attribute from the Tag.

impl<T> Tag<T> where
    T: Cols + 'static, 
[src]

pub fn cols(self, value: impl Value) -> Self[src]

Set the value of the cols attribute.

impl<T> Tag<T> where
    T: Cols
[src]

pub fn get_cols(&self) -> Option<String>[src]

Get the value of the cols attribute.

pub fn rem_cols(&self)[src]

Remove the cols attribute from the Tag.

impl<T> Tag<T> where
    T: Colspan + 'static, 
[src]

pub fn colspan(self, value: impl Value) -> Self[src]

Set the value of the colspan attribute.

impl<T> Tag<T> where
    T: Colspan
[src]

pub fn get_colspan(&self) -> Option<String>[src]

Get the value of the colspan attribute.

pub fn rem_colspan(&self)[src]

Remove the colspan attribute from the Tag.

impl<T> Tag<T> where
    T: Content + 'static, 
[src]

pub fn content(self, value: impl Value) -> Self[src]

Set the value of the content attribute.

impl<T> Tag<T> where
    T: Content
[src]

pub fn get_content(&self) -> Option<String>[src]

Get the value of the content attribute.

pub fn rem_content(&self)[src]

Remove the content attribute from the Tag.

impl<T> Tag<T> where
    T: Contenteditable + 'static, 
[src]

pub fn contenteditable(self, value: impl Value) -> Self[src]

Set the value of the contenteditable attribute.

impl<T> Tag<T> where
    T: Contenteditable
[src]

pub fn get_contenteditable(&self) -> Option<String>[src]

Get the value of the contenteditable attribute.

pub fn rem_contenteditable(&self)[src]

Remove the contenteditable attribute from the Tag.

impl<T> Tag<T> where
    T: Contextmenu + 'static, 
[src]

pub fn contextmenu(self, value: impl Value) -> Self[src]

Set the value of the contextmenu attribute.

impl<T> Tag<T> where
    T: Contextmenu
[src]

pub fn get_contextmenu(&self) -> Option<String>[src]

Get the value of the contextmenu attribute.

pub fn rem_contextmenu(&self)[src]

Remove the contextmenu attribute from the Tag.

impl<T> Tag<T> where
    T: Controls + 'static, 
[src]

pub fn controls(self, value: impl Value) -> Self[src]

Set the value of the controls attribute.

impl<T> Tag<T> where
    T: Controls
[src]

pub fn get_controls(&self) -> Option<String>[src]

Get the value of the controls attribute.

pub fn rem_controls(&self)[src]

Remove the controls attribute from the Tag.

impl<T> Tag<T> where
    T: Coords + 'static, 
[src]

pub fn coords(self, value: impl Value) -> Self[src]

Set the value of the coords attribute.

impl<T> Tag<T> where
    T: Coords
[src]

pub fn get_coords(&self) -> Option<String>[src]

Get the value of the coords attribute.

pub fn rem_coords(&self)[src]

Remove the coords attribute from the Tag.

impl<T> Tag<T> where
    T: Crossorigin + 'static, 
[src]

pub fn crossorigin(self, value: impl Value) -> Self[src]

Set the value of the crossorigin attribute.

impl<T> Tag<T> where
    T: Crossorigin
[src]

pub fn get_crossorigin(&self) -> Option<String>[src]

Get the value of the crossorigin attribute.

pub fn rem_crossorigin(&self)[src]

Remove the crossorigin attribute from the Tag.

impl<T> Tag<T> where
    T: Csp + 'static, 
[src]

pub fn csp(self, value: impl Value) -> Self[src]

Set the value of the csp attribute.

impl<T> Tag<T> where
    T: Csp
[src]

pub fn get_csp(&self) -> Option<String>[src]

Get the value of the csp attribute.

pub fn rem_csp(&self)[src]

Remove the csp attribute from the Tag.

impl<T> Tag<T> where
    T: Data + 'static, 
[src]

pub fn data(self, value: impl Value) -> Self[src]

Set the value of the data attribute.

impl<T> Tag<T> where
    T: Data
[src]

pub fn get_data(&self) -> Option<String>[src]

Get the value of the data attribute.

pub fn rem_data(&self)[src]

Remove the data attribute from the Tag.

impl<T> Tag<T> where
    T: Datetime + 'static, 
[src]

pub fn datetime(self, value: impl Value) -> Self[src]

Set the value of the datetime attribute.

impl<T> Tag<T> where
    T: Datetime
[src]

pub fn get_datetime(&self) -> Option<String>[src]

Get the value of the datetime attribute.

pub fn rem_datetime(&self)[src]

Remove the datetime attribute from the Tag.

impl<T> Tag<T> where
    T: Decoding + 'static, 
[src]

pub fn decoding(self, value: impl Value) -> Self[src]

Set the value of the decoding attribute.

impl<T> Tag<T> where
    T: Decoding
[src]

pub fn get_decoding(&self) -> Option<String>[src]

Get the value of the decoding attribute.

pub fn rem_decoding(&self)[src]

Remove the decoding attribute from the Tag.

impl<T> Tag<T> where
    T: Default + 'static, 
[src]

pub fn default(self, value: impl Value) -> Self[src]

Set the value of the default attribute.

impl<T> Tag<T> where
    T: Default
[src]

pub fn get_default(&self) -> Option<String>[src]

Get the value of the default attribute.

pub fn rem_default(&self)[src]

Remove the default attribute from the Tag.

impl<T> Tag<T> where
    T: Defer + 'static, 
[src]

pub fn defer(self, value: impl Value) -> Self[src]

Set the value of the defer attribute.

impl<T> Tag<T> where
    T: Defer
[src]

pub fn get_defer(&self) -> Option<String>[src]

Get the value of the defer attribute.

pub fn rem_defer(&self)[src]

Remove the defer attribute from the Tag.

impl<T> Tag<T> where
    T: Dir + 'static, 
[src]

pub fn dir(self, value: impl Value) -> Self[src]

Set the value of the dir attribute.

impl<T> Tag<T> where
    T: Dir
[src]

pub fn get_dir(&self) -> Option<String>[src]

Get the value of the dir attribute.

pub fn rem_dir(&self)[src]

Remove the dir attribute from the Tag.

impl<T> Tag<T> where
    T: Dirname + 'static, 
[src]

pub fn dirname(self, value: impl Value) -> Self[src]

Set the value of the dirname attribute.

impl<T> Tag<T> where
    T: Dirname
[src]

pub fn get_dirname(&self) -> Option<String>[src]

Get the value of the dirname attribute.

pub fn rem_dirname(&self)[src]

Remove the dirname attribute from the Tag.

impl<T> Tag<T> where
    T: Disabled + 'static, 
[src]

pub fn disabled(self, value: impl Value) -> Self[src]

Set the value of the disabled attribute.

impl<T> Tag<T> where
    T: Disabled
[src]

pub fn get_disabled(&self) -> Option<String>[src]

Get the value of the disabled attribute.

pub fn rem_disabled(&self)[src]

Remove the disabled attribute from the Tag.

impl<T> Tag<T> where
    T: Download + 'static, 
[src]

pub fn download(self, value: impl Value) -> Self[src]

Set the value of the download attribute.

impl<T> Tag<T> where
    T: Download
[src]

pub fn get_download(&self) -> Option<String>[src]

Get the value of the download attribute.

pub fn rem_download(&self)[src]

Remove the download attribute from the Tag.

impl<T> Tag<T> where
    T: Draggable + 'static, 
[src]

pub fn draggable(self, value: impl Value) -> Self[src]

Set the value of the draggable attribute.

impl<T> Tag<T> where
    T: Draggable
[src]

pub fn get_draggable(&self) -> Option<String>[src]

Get the value of the draggable attribute.

pub fn rem_draggable(&self)[src]

Remove the draggable attribute from the Tag.

impl<T> Tag<T> where
    T: Dropzone + 'static, 
[src]

pub fn dropzone(self, value: impl Value) -> Self[src]

Set the value of the dropzone attribute.

impl<T> Tag<T> where
    T: Dropzone
[src]

pub fn get_dropzone(&self) -> Option<String>[src]

Get the value of the dropzone attribute.

pub fn rem_dropzone(&self)[src]

Remove the dropzone attribute from the Tag.

impl<T> Tag<T> where
    T: Enctype + 'static, 
[src]

pub fn enctype(self, value: impl Value) -> Self[src]

Set the value of the enctype attribute.

impl<T> Tag<T> where
    T: Enctype
[src]

pub fn get_enctype(&self) -> Option<String>[src]

Get the value of the enctype attribute.

pub fn rem_enctype(&self)[src]

Remove the enctype attribute from the Tag.

impl<T> Tag<T> where
    T: Enterkeyhint + 'static, 
[src]

pub fn enterkeyhint(self, value: impl Value) -> Self[src]

Set the value of the enterkeyhint attribute.

impl<T> Tag<T> where
    T: Enterkeyhint
[src]

pub fn get_enterkeyhint(&self) -> Option<String>[src]

Get the value of the enterkeyhint attribute.

pub fn rem_enterkeyhint(&self)[src]

Remove the enterkeyhint attribute from the Tag.

impl<T> Tag<T> where
    T: For + 'static, 
[src]

pub fn set_for(self, value: impl Value) -> Self[src]

Set the value of the for attribute.

impl<T> Tag<T> where
    T: For
[src]

pub fn get_set_for(&self) -> Option<String>[src]

Get the value of the for attribute.

pub fn rem_set_for(&self)[src]

Remove the for attribute from the Tag.

impl<T> Tag<T> where
    T: Form + 'static, 
[src]

pub fn form(self, value: impl Value) -> Self[src]

Set the value of the form attribute.

impl<T> Tag<T> where
    T: Form
[src]

pub fn get_form(&self) -> Option<String>[src]

Get the value of the form attribute.

pub fn rem_form(&self)[src]

Remove the form attribute from the Tag.

impl<T> Tag<T> where
    T: Formaction + 'static, 
[src]

pub fn formaction(self, value: impl Value) -> Self[src]

Set the value of the formaction attribute.

impl<T> Tag<T> where
    T: Formaction
[src]

pub fn get_formaction(&self) -> Option<String>[src]

Get the value of the formaction attribute.

pub fn rem_formaction(&self)[src]

Remove the formaction attribute from the Tag.

impl<T> Tag<T> where
    T: Formenctype + 'static, 
[src]

pub fn formenctype(self, value: impl Value) -> Self[src]

Set the value of the formenctype attribute.

impl<T> Tag<T> where
    T: Formenctype
[src]

pub fn get_formenctype(&self) -> Option<String>[src]

Get the value of the formenctype attribute.

pub fn rem_formenctype(&self)[src]

Remove the formenctype attribute from the Tag.

impl<T> Tag<T> where
    T: Formmethod + 'static, 
[src]

pub fn formmethod(self, value: impl Value) -> Self[src]

Set the value of the formmethod attribute.

impl<T> Tag<T> where
    T: Formmethod
[src]

pub fn get_formmethod(&self) -> Option<String>[src]

Get the value of the formmethod attribute.

pub fn rem_formmethod(&self)[src]

Remove the formmethod attribute from the Tag.

impl<T> Tag<T> where
    T: Formnovalidate + 'static, 
[src]

pub fn formnovalidate(self, value: impl Value) -> Self[src]

Set the value of the formnovalidate attribute.

impl<T> Tag<T> where
    T: Formnovalidate
[src]

pub fn get_formnovalidate(&self) -> Option<String>[src]

Get the value of the formnovalidate attribute.

pub fn rem_formnovalidate(&self)[src]

Remove the formnovalidate attribute from the Tag.

impl<T> Tag<T> where
    T: Formtarget + 'static, 
[src]

pub fn formtarget(self, value: impl Value) -> Self[src]

Set the value of the formtarget attribute.

impl<T> Tag<T> where
    T: Formtarget
[src]

pub fn get_formtarget(&self) -> Option<String>[src]

Get the value of the formtarget attribute.

pub fn rem_formtarget(&self)[src]

Remove the formtarget attribute from the Tag.

impl<T> Tag<T> where
    T: Headers + 'static, 
[src]

pub fn headers(self, value: impl Value) -> Self[src]

Set the value of the headers attribute.

impl<T> Tag<T> where
    T: Headers
[src]

pub fn get_headers(&self) -> Option<String>[src]

Get the value of the headers attribute.

pub fn rem_headers(&self)[src]

Remove the headers attribute from the Tag.

impl<T> Tag<T> where
    T: Height + 'static, 
[src]

pub fn height(self, value: impl Value) -> Self[src]

Set the value of the height attribute.

impl<T> Tag<T> where
    T: Height
[src]

pub fn get_height(&self) -> Option<String>[src]

Get the value of the height attribute.

pub fn rem_height(&self)[src]

Remove the height attribute from the Tag.

impl<T> Tag<T> where
    T: Hidden + 'static, 
[src]

pub fn hidden(self, value: impl Value) -> Self[src]

Set the value of the hidden attribute.

impl<T> Tag<T> where
    T: Hidden
[src]

pub fn get_hidden(&self) -> Option<String>[src]

Get the value of the hidden attribute.

pub fn rem_hidden(&self)[src]

Remove the hidden attribute from the Tag.

impl<T> Tag<T> where
    T: High + 'static, 
[src]

pub fn high(self, value: impl Value) -> Self[src]

Set the value of the high attribute.

impl<T> Tag<T> where
    T: High
[src]

pub fn get_high(&self) -> Option<String>[src]

Get the value of the high attribute.

pub fn rem_high(&self)[src]

Remove the high attribute from the Tag.

impl<T> Tag<T> where
    T: Href + 'static, 
[src]

pub fn href(self, value: impl Value) -> Self[src]

Set the value of the href attribute.

impl<T> Tag<T> where
    T: Href
[src]

pub fn get_href(&self) -> Option<String>[src]

Get the value of the href attribute.

pub fn rem_href(&self)[src]

Remove the href attribute from the Tag.

impl<T> Tag<T> where
    T: Hreflang + 'static, 
[src]

pub fn hreflang(self, value: impl Value) -> Self[src]

Set the value of the hreflang attribute.

impl<T> Tag<T> where
    T: Hreflang
[src]

pub fn get_hreflang(&self) -> Option<String>[src]

Get the value of the hreflang attribute.

pub fn rem_hreflang(&self)[src]

Remove the hreflang attribute from the Tag.

impl<T> Tag<T> where
    T: HttpEquiv + 'static, 
[src]

pub fn http_equiv(self, value: impl Value) -> Self[src]

Set the value of the http-equiv attribute.

impl<T> Tag<T> where
    T: HttpEquiv
[src]

pub fn get_http_equiv(&self) -> Option<String>[src]

Get the value of the http-equiv attribute.

pub fn rem_http_equiv(&self)[src]

Remove the http-equiv attribute from the Tag.

impl<T> Tag<T> where
    T: Importance + 'static, 
[src]

pub fn importance(self, value: impl Value) -> Self[src]

Set the value of the importance attribute.

impl<T> Tag<T> where
    T: Importance
[src]

pub fn get_importance(&self) -> Option<String>[src]

Get the value of the importance attribute.

pub fn rem_importance(&self)[src]

Remove the importance attribute from the Tag.

impl<T> Tag<T> where
    T: Integrity + 'static, 
[src]

pub fn integrity(self, value: impl Value) -> Self[src]

Set the value of the integrity attribute.

impl<T> Tag<T> where
    T: Integrity
[src]

pub fn get_integrity(&self) -> Option<String>[src]

Get the value of the integrity attribute.

pub fn rem_integrity(&self)[src]

Remove the integrity attribute from the Tag.

impl<T> Tag<T> where
    T: Intrinsicsize + 'static, 
[src]

pub fn intrinsicsize(self, value: impl Value) -> Self[src]

Set the value of the intrinsicsize attribute.

impl<T> Tag<T> where
    T: Intrinsicsize
[src]

pub fn get_intrinsicsize(&self) -> Option<String>[src]

Get the value of the intrinsicsize attribute.

pub fn rem_intrinsicsize(&self)[src]

Remove the intrinsicsize attribute from the Tag.

impl<T> Tag<T> where
    T: Inputmode + 'static, 
[src]

pub fn inputmode(self, value: impl Value) -> Self[src]

Set the value of the inputmode attribute.

impl<T> Tag<T> where
    T: Inputmode
[src]

pub fn get_inputmode(&self) -> Option<String>[src]

Get the value of the inputmode attribute.

pub fn rem_inputmode(&self)[src]

Remove the inputmode attribute from the Tag.

impl<T> Tag<T> where
    T: Ismap + 'static, 
[src]

pub fn ismap(self, value: impl Value) -> Self[src]

Set the value of the ismap attribute.

impl<T> Tag<T> where
    T: Ismap
[src]

pub fn get_ismap(&self) -> Option<String>[src]

Get the value of the ismap attribute.

pub fn rem_ismap(&self)[src]

Remove the ismap attribute from the Tag.

impl<T> Tag<T> where
    T: Itemprop + 'static, 
[src]

pub fn itemprop(self, value: impl Value) -> Self[src]

Set the value of the itemprop attribute.

impl<T> Tag<T> where
    T: Itemprop
[src]

pub fn get_itemprop(&self) -> Option<String>[src]

Get the value of the itemprop attribute.

pub fn rem_itemprop(&self)[src]

Remove the itemprop attribute from the Tag.

impl<T> Tag<T> where
    T: Kind + 'static, 
[src]

pub fn kind(self, value: impl Value) -> Self[src]

Set the value of the kind attribute.

impl<T> Tag<T> where
    T: Kind
[src]

pub fn get_kind(&self) -> Option<String>[src]

Get the value of the kind attribute.

pub fn rem_kind(&self)[src]

Remove the kind attribute from the Tag.

impl<T> Tag<T> where
    T: Label + 'static, 
[src]

pub fn label(self, value: impl Value) -> Self[src]

Set the value of the label attribute.

impl<T> Tag<T> where
    T: Label
[src]

pub fn get_label(&self) -> Option<String>[src]

Get the value of the label attribute.

pub fn rem_label(&self)[src]

Remove the label attribute from the Tag.

impl<T> Tag<T> where
    T: Lang + 'static, 
[src]

pub fn lang(self, value: impl Value) -> Self[src]

Set the value of the lang attribute.

impl<T> Tag<T> where
    T: Lang
[src]

pub fn get_lang(&self) -> Option<String>[src]

Get the value of the lang attribute.

pub fn rem_lang(&self)[src]

Remove the lang attribute from the Tag.

impl<T> Tag<T> where
    T: Language + 'static, 
[src]

pub fn language(self, value: impl Value) -> Self[src]

Set the value of the language attribute.

impl<T> Tag<T> where
    T: Language
[src]

pub fn get_language(&self) -> Option<String>[src]

Get the value of the language attribute.

pub fn rem_language(&self)[src]

Remove the language attribute from the Tag.

impl<T> Tag<T> where
    T: Loading + 'static, 
[src]

pub fn loading(self, value: impl Value) -> Self[src]

Set the value of the loading attribute.

impl<T> Tag<T> where
    T: Loading
[src]

pub fn get_loading(&self) -> Option<String>[src]

Get the value of the loading attribute.

pub fn rem_loading(&self)[src]

Remove the loading attribute from the Tag.

impl<T> Tag<T> where
    T: List + 'static, 
[src]

pub fn list(self, value: impl Value) -> Self[src]

Set the value of the list attribute.

impl<T> Tag<T> where
    T: List
[src]

pub fn get_list(&self) -> Option<String>[src]

Get the value of the list attribute.

pub fn rem_list(&self)[src]

Remove the list attribute from the Tag.

impl<T> Tag<T> where
    T: Loop + 'static, 
[src]

pub fn set_loop(self, value: impl Value) -> Self[src]

Set the value of the loop attribute.

impl<T> Tag<T> where
    T: Loop
[src]

pub fn get_set_loop(&self) -> Option<String>[src]

Get the value of the loop attribute.

pub fn rem_set_loop(&self)[src]

Remove the loop attribute from the Tag.

impl<T> Tag<T> where
    T: Low + 'static, 
[src]

pub fn low(self, value: impl Value) -> Self[src]

Set the value of the low attribute.

impl<T> Tag<T> where
    T: Low
[src]

pub fn get_low(&self) -> Option<String>[src]

Get the value of the low attribute.

pub fn rem_low(&self)[src]

Remove the low attribute from the Tag.

impl<T> Tag<T> where
    T: Manifest + 'static, 
[src]

pub fn manifest(self, value: impl Value) -> Self[src]

Set the value of the manifest attribute.

impl<T> Tag<T> where
    T: Manifest
[src]

pub fn get_manifest(&self) -> Option<String>[src]

Get the value of the manifest attribute.

pub fn rem_manifest(&self)[src]

Remove the manifest attribute from the Tag.

impl<T> Tag<T> where
    T: Max + 'static, 
[src]

pub fn max(self, value: impl Value) -> Self[src]

Set the value of the max attribute.

impl<T> Tag<T> where
    T: Max
[src]

pub fn get_max(&self) -> Option<String>[src]

Get the value of the max attribute.

pub fn rem_max(&self)[src]

Remove the max attribute from the Tag.

impl<T> Tag<T> where
    T: Maxlength + 'static, 
[src]

pub fn maxlength(self, value: impl Value) -> Self[src]

Set the value of the maxlength attribute.

impl<T> Tag<T> where
    T: Maxlength
[src]

pub fn get_maxlength(&self) -> Option<String>[src]

Get the value of the maxlength attribute.

pub fn rem_maxlength(&self)[src]

Remove the maxlength attribute from the Tag.

impl<T> Tag<T> where
    T: Minlength + 'static, 
[src]

pub fn minlength(self, value: impl Value) -> Self[src]

Set the value of the minlength attribute.

impl<T> Tag<T> where
    T: Minlength
[src]

pub fn get_minlength(&self) -> Option<String>[src]

Get the value of the minlength attribute.

pub fn rem_minlength(&self)[src]

Remove the minlength attribute from the Tag.

impl<T> Tag<T> where
    T: Media + 'static, 
[src]

pub fn media(self, value: impl Value) -> Self[src]

Set the value of the media attribute.

impl<T> Tag<T> where
    T: Media
[src]

pub fn get_media(&self) -> Option<String>[src]

Get the value of the media attribute.

pub fn rem_media(&self)[src]

Remove the media attribute from the Tag.

impl<T> Tag<T> where
    T: Method + 'static, 
[src]

pub fn method(self, value: impl Value) -> Self[src]

Set the value of the method attribute.

impl<T> Tag<T> where
    T: Method
[src]

pub fn get_method(&self) -> Option<String>[src]

Get the value of the method attribute.

pub fn rem_method(&self)[src]

Remove the method attribute from the Tag.

impl<T> Tag<T> where
    T: Min + 'static, 
[src]

pub fn min(self, value: impl Value) -> Self[src]

Set the value of the min attribute.

impl<T> Tag<T> where
    T: Min
[src]

pub fn get_min(&self) -> Option<String>[src]

Get the value of the min attribute.

pub fn rem_min(&self)[src]

Remove the min attribute from the Tag.

impl<T> Tag<T> where
    T: Multiple + 'static, 
[src]

pub fn multiple(self, value: impl Value) -> Self[src]

Set the value of the multiple attribute.

impl<T> Tag<T> where
    T: Multiple
[src]

pub fn get_multiple(&self) -> Option<String>[src]

Get the value of the multiple attribute.

pub fn rem_multiple(&self)[src]

Remove the multiple attribute from the Tag.

impl<T> Tag<T> where
    T: Muted + 'static, 
[src]

pub fn muted(self, value: impl Value) -> Self[src]

Set the value of the muted attribute.

impl<T> Tag<T> where
    T: Muted
[src]

pub fn get_muted(&self) -> Option<String>[src]

Get the value of the muted attribute.

pub fn rem_muted(&self)[src]

Remove the muted attribute from the Tag.

impl<T> Tag<T> where
    T: Name + 'static, 
[src]

pub fn name(self, value: impl Value) -> Self[src]

Set the value of the name attribute.

impl<T> Tag<T> where
    T: Name
[src]

pub fn get_name(&self) -> Option<String>[src]

Get the value of the name attribute.

pub fn rem_name(&self)[src]

Remove the name attribute from the Tag.

impl<T> Tag<T> where
    T: Novalidate + 'static, 
[src]

pub fn novalidate(self, value: impl Value) -> Self[src]

Set the value of the novalidate attribute.

impl<T> Tag<T> where
    T: Novalidate
[src]

pub fn get_novalidate(&self) -> Option<String>[src]

Get the value of the novalidate attribute.

pub fn rem_novalidate(&self)[src]

Remove the novalidate attribute from the Tag.

impl<T> Tag<T> where
    T: Open + 'static, 
[src]

pub fn open(self, value: impl Value) -> Self[src]

Set the value of the open attribute.

impl<T> Tag<T> where
    T: Open
[src]

pub fn get_open(&self) -> Option<String>[src]

Get the value of the open attribute.

pub fn rem_open(&self)[src]

Remove the open attribute from the Tag.

impl<T> Tag<T> where
    T: Optimum + 'static, 
[src]

pub fn optimum(self, value: impl Value) -> Self[src]

Set the value of the optimum attribute.

impl<T> Tag<T> where
    T: Optimum
[src]

pub fn get_optimum(&self) -> Option<String>[src]

Get the value of the optimum attribute.

pub fn rem_optimum(&self)[src]

Remove the optimum attribute from the Tag.

impl<T> Tag<T> where
    T: Pattern + 'static, 
[src]

pub fn pattern(self, value: impl Value) -> Self[src]

Set the value of the pattern attribute.

impl<T> Tag<T> where
    T: Pattern
[src]

pub fn get_pattern(&self) -> Option<String>[src]

Get the value of the pattern attribute.

pub fn rem_pattern(&self)[src]

Remove the pattern attribute from the Tag.

impl<T> Tag<T> where
    T: Ping + 'static, 
[src]

pub fn ping(self, value: impl Value) -> Self[src]

Set the value of the ping attribute.

impl<T> Tag<T> where
    T: Ping
[src]

pub fn get_ping(&self) -> Option<String>[src]

Get the value of the ping attribute.

pub fn rem_ping(&self)[src]

Remove the ping attribute from the Tag.

impl<T> Tag<T> where
    T: Placeholder + 'static, 
[src]

pub fn placeholder(self, value: impl Value) -> Self[src]

Set the value of the placeholder attribute.

impl<T> Tag<T> where
    T: Placeholder
[src]

pub fn get_placeholder(&self) -> Option<String>[src]

Get the value of the placeholder attribute.

pub fn rem_placeholder(&self)[src]

Remove the placeholder attribute from the Tag.

impl<T> Tag<T> where
    T: Poster + 'static, 
[src]

pub fn poster(self, value: impl Value) -> Self[src]

Set the value of the poster attribute.

impl<T> Tag<T> where
    T: Poster
[src]

pub fn get_poster(&self) -> Option<String>[src]

Get the value of the poster attribute.

pub fn rem_poster(&self)[src]

Remove the poster attribute from the Tag.

impl<T> Tag<T> where
    T: Preload + 'static, 
[src]

pub fn preload(self, value: impl Value) -> Self[src]

Set the value of the preload attribute.

impl<T> Tag<T> where
    T: Preload
[src]

pub fn get_preload(&self) -> Option<String>[src]

Get the value of the preload attribute.

pub fn rem_preload(&self)[src]

Remove the preload attribute from the Tag.

impl<T> Tag<T> where
    T: Readonly + 'static, 
[src]

pub fn readonly(self, value: impl Value) -> Self[src]

Set the value of the readonly attribute.

impl<T> Tag<T> where
    T: Readonly
[src]

pub fn get_readonly(&self) -> Option<String>[src]

Get the value of the readonly attribute.

pub fn rem_readonly(&self)[src]

Remove the readonly attribute from the Tag.

impl<T> Tag<T> where
    T: Referrerpolicy + 'static, 
[src]

pub fn referrerpolicy(self, value: impl Value) -> Self[src]

Set the value of the referrerpolicy attribute.

impl<T> Tag<T> where
    T: Referrerpolicy
[src]

pub fn get_referrerpolicy(&self) -> Option<String>[src]

Get the value of the referrerpolicy attribute.

pub fn rem_referrerpolicy(&self)[src]

Remove the referrerpolicy attribute from the Tag.

impl<T> Tag<T> where
    T: Rel + 'static, 
[src]

pub fn rel(self, value: impl Value) -> Self[src]

Set the value of the rel attribute.

impl<T> Tag<T> where
    T: Rel
[src]

pub fn get_rel(&self) -> Option<String>[src]

Get the value of the rel attribute.

pub fn rem_rel(&self)[src]

Remove the rel attribute from the Tag.

impl<T> Tag<T> where
    T: Required + 'static, 
[src]

pub fn required(self, value: impl Value) -> Self[src]

Set the value of the required attribute.

impl<T> Tag<T> where
    T: Required
[src]

pub fn get_required(&self) -> Option<String>[src]

Get the value of the required attribute.

pub fn rem_required(&self)[src]

Remove the required attribute from the Tag.

impl<T> Tag<T> where
    T: Reversed + 'static, 
[src]

pub fn reversed(self, value: impl Value) -> Self[src]

Set the value of the reversed attribute.

impl<T> Tag<T> where
    T: Reversed
[src]

pub fn get_reversed(&self) -> Option<String>[src]

Get the value of the reversed attribute.

pub fn rem_reversed(&self)[src]

Remove the reversed attribute from the Tag.

impl<T> Tag<T> where
    T: Rows + 'static, 
[src]

pub fn rows(self, value: impl Value) -> Self[src]

Set the value of the rows attribute.

impl<T> Tag<T> where
    T: Rows
[src]

pub fn get_rows(&self) -> Option<String>[src]

Get the value of the rows attribute.

pub fn rem_rows(&self)[src]

Remove the rows attribute from the Tag.

impl<T> Tag<T> where
    T: Rowspan + 'static, 
[src]

pub fn rowspan(self, value: impl Value) -> Self[src]

Set the value of the rowspan attribute.

impl<T> Tag<T> where
    T: Rowspan
[src]

pub fn get_rowspan(&self) -> Option<String>[src]

Get the value of the rowspan attribute.

pub fn rem_rowspan(&self)[src]

Remove the rowspan attribute from the Tag.

impl<T> Tag<T> where
    T: Sandbox + 'static, 
[src]

pub fn sandbox(self, value: impl Value) -> Self[src]

Set the value of the sandbox attribute.

impl<T> Tag<T> where
    T: Sandbox
[src]

pub fn get_sandbox(&self) -> Option<String>[src]

Get the value of the sandbox attribute.

pub fn rem_sandbox(&self)[src]

Remove the sandbox attribute from the Tag.

impl<T> Tag<T> where
    T: Scope + 'static, 
[src]

pub fn scope(self, value: impl Value) -> Self[src]

Set the value of the scope attribute.

impl<T> Tag<T> where
    T: Scope
[src]

pub fn get_scope(&self) -> Option<String>[src]

Get the value of the scope attribute.

pub fn rem_scope(&self)[src]

Remove the scope attribute from the Tag.

impl<T> Tag<T> where
    T: Scoped + 'static, 
[src]

pub fn scoped(self, value: impl Value) -> Self[src]

Set the value of the scoped attribute.

impl<T> Tag<T> where
    T: Scoped
[src]

pub fn get_scoped(&self) -> Option<String>[src]

Get the value of the scoped attribute.

pub fn rem_scoped(&self)[src]

Remove the scoped attribute from the Tag.

impl<T> Tag<T> where
    T: Selected + 'static, 
[src]

pub fn selected(self, value: impl Value) -> Self[src]

Set the value of the selected attribute.

impl<T> Tag<T> where
    T: Selected
[src]

pub fn get_selected(&self) -> Option<String>[src]

Get the value of the selected attribute.

pub fn rem_selected(&self)[src]

Remove the selected attribute from the Tag.

impl<T> Tag<T> where
    T: Shape + 'static, 
[src]

pub fn shape(self, value: impl Value) -> Self[src]

Set the value of the shape attribute.

impl<T> Tag<T> where
    T: Shape
[src]

pub fn get_shape(&self) -> Option<String>[src]

Get the value of the shape attribute.

pub fn rem_shape(&self)[src]

Remove the shape attribute from the Tag.

impl<T> Tag<T> where
    T: Size + 'static, 
[src]

pub fn size(self, value: impl Value) -> Self[src]

Set the value of the size attribute.

impl<T> Tag<T> where
    T: Size
[src]

pub fn get_size(&self) -> Option<String>[src]

Get the value of the size attribute.

pub fn rem_size(&self)[src]

Remove the size attribute from the Tag.

impl<T> Tag<T> where
    T: Sizes + 'static, 
[src]

pub fn sizes(self, value: impl Value) -> Self[src]

Set the value of the sizes attribute.

impl<T> Tag<T> where
    T: Sizes
[src]

pub fn get_sizes(&self) -> Option<String>[src]

Get the value of the sizes attribute.

pub fn rem_sizes(&self)[src]

Remove the sizes attribute from the Tag.

impl<T> Tag<T> where
    T: Slot + 'static, 
[src]

pub fn slot(self, value: impl Value) -> Self[src]

Set the value of the slot attribute.

impl<T> Tag<T> where
    T: Slot
[src]

pub fn get_slot(&self) -> Option<String>[src]

Get the value of the slot attribute.

pub fn rem_slot(&self)[src]

Remove the slot attribute from the Tag.

impl<T> Tag<T> where
    T: Span + 'static, 
[src]

pub fn span(self, value: impl Value) -> Self[src]

Set the value of the span attribute.

impl<T> Tag<T> where
    T: Span
[src]

pub fn get_span(&self) -> Option<String>[src]

Get the value of the span attribute.

pub fn rem_span(&self)[src]

Remove the span attribute from the Tag.

impl<T> Tag<T> where
    T: Spellcheck + 'static, 
[src]

pub fn spellcheck(self, value: impl Value) -> Self[src]

Set the value of the spellcheck attribute.

impl<T> Tag<T> where
    T: Spellcheck
[src]

pub fn get_spellcheck(&self) -> Option<String>[src]

Get the value of the spellcheck attribute.

pub fn rem_spellcheck(&self)[src]

Remove the spellcheck attribute from the Tag.

impl<T> Tag<T> where
    T: Src + 'static, 
[src]

pub fn src(self, value: impl Value) -> Self[src]

Set the value of the src attribute.

impl<T> Tag<T> where
    T: Src
[src]

pub fn get_src(&self) -> Option<String>[src]

Get the value of the src attribute.

pub fn rem_src(&self)[src]

Remove the src attribute from the Tag.

impl<T> Tag<T> where
    T: Srcdoc + 'static, 
[src]

pub fn srcdoc(self, value: impl Value) -> Self[src]

Set the value of the srcdoc attribute.

impl<T> Tag<T> where
    T: Srcdoc
[src]

pub fn get_srcdoc(&self) -> Option<String>[src]

Get the value of the srcdoc attribute.

pub fn rem_srcdoc(&self)[src]

Remove the srcdoc attribute from the Tag.

impl<T> Tag<T> where
    T: Srclang + 'static, 
[src]

pub fn srclang(self, value: impl Value) -> Self[src]

Set the value of the srclang attribute.

impl<T> Tag<T> where
    T: Srclang
[src]

pub fn get_srclang(&self) -> Option<String>[src]

Get the value of the srclang attribute.

pub fn rem_srclang(&self)[src]

Remove the srclang attribute from the Tag.

impl<T> Tag<T> where
    T: Srcset + 'static, 
[src]

pub fn srcset(self, value: impl Value) -> Self[src]

Set the value of the srcset attribute.

impl<T> Tag<T> where
    T: Srcset
[src]

pub fn get_srcset(&self) -> Option<String>[src]

Get the value of the srcset attribute.

pub fn rem_srcset(&self)[src]

Remove the srcset attribute from the Tag.

impl<T> Tag<T> where
    T: Start + 'static, 
[src]

pub fn start(self, value: impl Value) -> Self[src]

Set the value of the start attribute.

impl<T> Tag<T> where
    T: Start
[src]

pub fn get_start(&self) -> Option<String>[src]

Get the value of the start attribute.

pub fn rem_start(&self)[src]

Remove the start attribute from the Tag.

impl<T> Tag<T> where
    T: Step + 'static, 
[src]

pub fn step(self, value: impl Value) -> Self[src]

Set the value of the step attribute.

impl<T> Tag<T> where
    T: Step
[src]

pub fn get_step(&self) -> Option<String>[src]

Get the value of the step attribute.

pub fn rem_step(&self)[src]

Remove the step attribute from the Tag.

impl<T> Tag<T> where
    T: Style + 'static, 
[src]

pub fn style(self, value: impl Value) -> Self[src]

Set the value of the style attribute.

impl<T> Tag<T> where
    T: Style
[src]

pub fn get_style(&self) -> Option<String>[src]

Get the value of the style attribute.

pub fn rem_style(&self)[src]

Remove the style attribute from the Tag.

impl<T> Tag<T> where
    T: Summary + 'static, 
[src]

pub fn summary(self, value: impl Value) -> Self[src]

Set the value of the summary attribute.

impl<T> Tag<T> where
    T: Summary
[src]

pub fn get_summary(&self) -> Option<String>[src]

Get the value of the summary attribute.

pub fn rem_summary(&self)[src]

Remove the summary attribute from the Tag.

impl<T> Tag<T> where
    T: Tabindex + 'static, 
[src]

pub fn tabindex(self, value: impl Value) -> Self[src]

Set the value of the tabindex attribute.

impl<T> Tag<T> where
    T: Tabindex
[src]

pub fn get_tabindex(&self) -> Option<String>[src]

Get the value of the tabindex attribute.

pub fn rem_tabindex(&self)[src]

Remove the tabindex attribute from the Tag.

impl<T> Tag<T> where
    T: Target + 'static, 
[src]

pub fn target(self, value: impl Value) -> Self[src]

Set the value of the target attribute.

impl<T> Tag<T> where
    T: Target
[src]

pub fn get_target(&self) -> Option<String>[src]

Get the value of the target attribute.

pub fn rem_target(&self)[src]

Remove the target attribute from the Tag.

impl<T> Tag<T> where
    T: Title + 'static, 
[src]

pub fn title(self, value: impl Value) -> Self[src]

Set the value of the title attribute.

impl<T> Tag<T> where
    T: Title
[src]

pub fn get_title(&self) -> Option<String>[src]

Get the value of the title attribute.

pub fn rem_title(&self)[src]

Remove the title attribute from the Tag.

impl<T> Tag<T> where
    T: Translate + 'static, 
[src]

pub fn translate(self, value: impl Value) -> Self[src]

Set the value of the translate attribute.

impl<T> Tag<T> where
    T: Translate
[src]

pub fn get_translate(&self) -> Option<String>[src]

Get the value of the translate attribute.

pub fn rem_translate(&self)[src]

Remove the translate attribute from the Tag.

impl<T> Tag<T> where
    T: Type + 'static, 
[src]

pub fn set_type(self, value: impl Value) -> Self[src]

Set the value of the type attribute.

impl<T> Tag<T> where
    T: Type
[src]

pub fn get_set_type(&self) -> Option<String>[src]

Get the value of the type attribute.

pub fn rem_set_type(&self)[src]

Remove the type attribute from the Tag.

impl<T> Tag<T> where
    T: Usemap + 'static, 
[src]

pub fn usemap(self, value: impl Value) -> Self[src]

Set the value of the usemap attribute.

impl<T> Tag<T> where
    T: Usemap
[src]

pub fn get_usemap(&self) -> Option<String>[src]

Get the value of the usemap attribute.

pub fn rem_usemap(&self)[src]

Remove the usemap attribute from the Tag.

impl<T> Tag<T> where
    T: Value + 'static, 
[src]

pub fn value(self, value: impl Value) -> Self[src]

Set the value of the value attribute.

impl<T> Tag<T> where
    T: Value
[src]

pub fn get_value(&self) -> Option<String>[src]

Get the value of the value attribute.

pub fn rem_value(&self)[src]

Remove the value attribute from the Tag.

impl<T> Tag<T> where
    T: Width + 'static, 
[src]

pub fn width(self, value: impl Value) -> Self[src]

Set the value of the width attribute.

impl<T> Tag<T> where
    T: Width
[src]

pub fn get_width(&self) -> Option<String>[src]

Get the value of the width attribute.

pub fn rem_width(&self)[src]

Remove the width attribute from the Tag.

impl<T> Tag<T> where
    T: Wrap + 'static, 
[src]

pub fn wrap(self, value: impl Value) -> Self[src]

Set the value of the wrap attribute.

impl<T> Tag<T> where
    T: Wrap
[src]

pub fn get_wrap(&self) -> Option<String>[src]

Get the value of the wrap attribute.

pub fn rem_wrap(&self)[src]

Remove the wrap attribute from the Tag.

Trait Implementations

impl<T> Clone for Tag<T>[src]

impl<T> Component for Tag<T>[src]

impl<T> Default for Tag<T> where
    T: HtmlElement
[src]

impl<T> From<Tag<T>> for Node[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for Tag<T>

impl<T> !Send for Tag<T>

impl<T> !Sync for Tag<T>

impl<T> Unpin for Tag<T> where
    T: Unpin

impl<T> !UnwindSafe for Tag<T>

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.