[−][src]Struct valerie::Tag
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]
T: HtmlElement,
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]
U: Component,
pub fn push_multiple<U>(self, components: Vec<U>) -> Self where
U: Component,
[src]
U: Component,
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]
F: Fn(usize) -> U,
U: Component,
impl<T> Tag<T> where
T: 'static,
[src]
T: 'static,
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]
U: 'static,
F: FnMut(&mut U, &mut Self) + 'static,
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]
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]
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]
T: 'static,
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]
T: StateTrait + 'static,
T::Value: FromStr + Default,
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]
T: StateTrait + 'static,
T::Value: FromStr + Default,
T::Channel: Deref<Target = String>,
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]
T: StateTrait + 'static,
F: FnOnce(String) -> T::Value,
F: 'static + Copy,
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]
T: Accept + 'static,
impl<T> Tag<T> where
T: Accept,
[src]
T: Accept,
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]
T: AcceptCharset + 'static,
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]
T: AcceptCharset,
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]
T: Accesskey + 'static,
impl<T> Tag<T> where
T: Accesskey,
[src]
T: Accesskey,
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]
T: Action + 'static,
impl<T> Tag<T> where
T: Action,
[src]
T: Action,
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]
T: Align + 'static,
impl<T> Tag<T> where
T: Align,
[src]
T: Align,
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]
T: Allow + 'static,
impl<T> Tag<T> where
T: Allow,
[src]
T: Allow,
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]
T: Alt + 'static,
impl<T> Tag<T> where
T: Alt,
[src]
T: Alt,
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]
T: Async + 'static,
impl<T> Tag<T> where
T: Async,
[src]
T: Async,
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]
T: Autocapitalize + 'static,
pub fn autocapitalize(self, value: impl Value) -> Self
[src]
Set the value of the autocapitalize
attribute.
impl<T> Tag<T> where
T: Autocapitalize,
[src]
T: Autocapitalize,
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]
T: Autocomplete + 'static,
pub fn autocomplete(self, value: impl Value) -> Self
[src]
Set the value of the autocomplete
attribute.
impl<T> Tag<T> where
T: Autocomplete,
[src]
T: Autocomplete,
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]
T: Autofocus + 'static,
impl<T> Tag<T> where
T: Autofocus,
[src]
T: Autofocus,
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]
T: Autoplay + 'static,
impl<T> Tag<T> where
T: Autoplay,
[src]
T: Autoplay,
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]
T: Background + 'static,
pub fn background(self, value: impl Value) -> Self
[src]
Set the value of the background
attribute.
impl<T> Tag<T> where
T: Background,
[src]
T: Background,
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]
T: Bgcolor + 'static,
impl<T> Tag<T> where
T: Bgcolor,
[src]
T: Bgcolor,
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]
T: Border + 'static,
impl<T> Tag<T> where
T: Border,
[src]
T: Border,
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]
T: Buffered + 'static,
impl<T> Tag<T> where
T: Buffered,
[src]
T: Buffered,
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]
T: Capture + 'static,
impl<T> Tag<T> where
T: Capture,
[src]
T: Capture,
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]
T: Charset + 'static,
impl<T> Tag<T> where
T: Charset,
[src]
T: Charset,
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]
T: Checked + 'static,
impl<T> Tag<T> where
T: Checked,
[src]
T: Checked,
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]
T: Cite + 'static,
impl<T> Tag<T> where
T: Cite,
[src]
T: Cite,
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]
T: Color + 'static,
impl<T> Tag<T> where
T: Color,
[src]
T: Color,
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]
T: Cols + 'static,
impl<T> Tag<T> where
T: Cols,
[src]
T: Cols,
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]
T: Colspan + 'static,
impl<T> Tag<T> where
T: Colspan,
[src]
T: Colspan,
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]
T: Content + 'static,
impl<T> Tag<T> where
T: Content,
[src]
T: Content,
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]
T: Contenteditable + 'static,
pub fn contenteditable(self, value: impl Value) -> Self
[src]
Set the value of the contenteditable
attribute.
impl<T> Tag<T> where
T: Contenteditable,
[src]
T: Contenteditable,
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]
T: Contextmenu + 'static,
pub fn contextmenu(self, value: impl Value) -> Self
[src]
Set the value of the contextmenu
attribute.
impl<T> Tag<T> where
T: Contextmenu,
[src]
T: Contextmenu,
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]
T: Controls + 'static,
impl<T> Tag<T> where
T: Controls,
[src]
T: Controls,
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]
T: Coords + 'static,
impl<T> Tag<T> where
T: Coords,
[src]
T: Coords,
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]
T: Crossorigin + 'static,
pub fn crossorigin(self, value: impl Value) -> Self
[src]
Set the value of the crossorigin
attribute.
impl<T> Tag<T> where
T: Crossorigin,
[src]
T: Crossorigin,
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]
T: Csp + 'static,
impl<T> Tag<T> where
T: Csp,
[src]
T: Csp,
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]
T: Data + 'static,
impl<T> Tag<T> where
T: Data,
[src]
T: Data,
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]
T: Datetime + 'static,
impl<T> Tag<T> where
T: Datetime,
[src]
T: Datetime,
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]
T: Decoding + 'static,
impl<T> Tag<T> where
T: Decoding,
[src]
T: Decoding,
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]
T: Default + 'static,
impl<T> Tag<T> where
T: Default,
[src]
T: Default,
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]
T: Defer + 'static,
impl<T> Tag<T> where
T: Defer,
[src]
T: Defer,
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]
T: Dir + 'static,
impl<T> Tag<T> where
T: Dir,
[src]
T: Dir,
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]
T: Dirname + 'static,
impl<T> Tag<T> where
T: Dirname,
[src]
T: Dirname,
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]
T: Disabled + 'static,
impl<T> Tag<T> where
T: Disabled,
[src]
T: Disabled,
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]
T: Download + 'static,
impl<T> Tag<T> where
T: Download,
[src]
T: Download,
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]
T: Draggable + 'static,
impl<T> Tag<T> where
T: Draggable,
[src]
T: Draggable,
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]
T: Dropzone + 'static,
impl<T> Tag<T> where
T: Dropzone,
[src]
T: Dropzone,
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]
T: Enctype + 'static,
impl<T> Tag<T> where
T: Enctype,
[src]
T: Enctype,
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]
T: Enterkeyhint + 'static,
pub fn enterkeyhint(self, value: impl Value) -> Self
[src]
Set the value of the enterkeyhint
attribute.
impl<T> Tag<T> where
T: Enterkeyhint,
[src]
T: Enterkeyhint,
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]
T: For + 'static,
impl<T> Tag<T> where
T: For,
[src]
T: For,
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]
T: Form + 'static,
impl<T> Tag<T> where
T: Form,
[src]
T: Form,
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]
T: Formaction + 'static,
pub fn formaction(self, value: impl Value) -> Self
[src]
Set the value of the formaction
attribute.
impl<T> Tag<T> where
T: Formaction,
[src]
T: Formaction,
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]
T: Formenctype + 'static,
pub fn formenctype(self, value: impl Value) -> Self
[src]
Set the value of the formenctype
attribute.
impl<T> Tag<T> where
T: Formenctype,
[src]
T: Formenctype,
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]
T: Formmethod + 'static,
pub fn formmethod(self, value: impl Value) -> Self
[src]
Set the value of the formmethod
attribute.
impl<T> Tag<T> where
T: Formmethod,
[src]
T: Formmethod,
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]
T: Formnovalidate + 'static,
pub fn formnovalidate(self, value: impl Value) -> Self
[src]
Set the value of the formnovalidate
attribute.
impl<T> Tag<T> where
T: Formnovalidate,
[src]
T: Formnovalidate,
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]
T: Formtarget + 'static,
pub fn formtarget(self, value: impl Value) -> Self
[src]
Set the value of the formtarget
attribute.
impl<T> Tag<T> where
T: Formtarget,
[src]
T: Formtarget,
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]
T: Headers + 'static,
impl<T> Tag<T> where
T: Headers,
[src]
T: Headers,
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]
T: Height + 'static,
impl<T> Tag<T> where
T: Height,
[src]
T: Height,
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]
T: Hidden + 'static,
impl<T> Tag<T> where
T: Hidden,
[src]
T: Hidden,
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]
T: High + 'static,
impl<T> Tag<T> where
T: High,
[src]
T: High,
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]
T: Href + 'static,
impl<T> Tag<T> where
T: Href,
[src]
T: Href,
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]
T: Hreflang + 'static,
impl<T> Tag<T> where
T: Hreflang,
[src]
T: Hreflang,
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]
T: HttpEquiv + 'static,
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]
T: HttpEquiv,
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]
T: Importance + 'static,
pub fn importance(self, value: impl Value) -> Self
[src]
Set the value of the importance
attribute.
impl<T> Tag<T> where
T: Importance,
[src]
T: Importance,
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]
T: Integrity + 'static,
impl<T> Tag<T> where
T: Integrity,
[src]
T: Integrity,
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]
T: Intrinsicsize + 'static,
pub fn intrinsicsize(self, value: impl Value) -> Self
[src]
Set the value of the intrinsicsize
attribute.
impl<T> Tag<T> where
T: Intrinsicsize,
[src]
T: Intrinsicsize,
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]
T: Inputmode + 'static,
impl<T> Tag<T> where
T: Inputmode,
[src]
T: Inputmode,
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]
T: Ismap + 'static,
impl<T> Tag<T> where
T: Ismap,
[src]
T: Ismap,
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]
T: Itemprop + 'static,
impl<T> Tag<T> where
T: Itemprop,
[src]
T: Itemprop,
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]
T: Kind + 'static,
impl<T> Tag<T> where
T: Kind,
[src]
T: Kind,
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]
T: Label + 'static,
impl<T> Tag<T> where
T: Label,
[src]
T: Label,
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]
T: Lang + 'static,
impl<T> Tag<T> where
T: Lang,
[src]
T: Lang,
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]
T: Language + 'static,
impl<T> Tag<T> where
T: Language,
[src]
T: Language,
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]
T: Loading + 'static,
impl<T> Tag<T> where
T: Loading,
[src]
T: Loading,
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]
T: List + 'static,
impl<T> Tag<T> where
T: List,
[src]
T: List,
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]
T: Loop + 'static,
impl<T> Tag<T> where
T: Loop,
[src]
T: Loop,
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]
T: Low + 'static,
impl<T> Tag<T> where
T: Low,
[src]
T: Low,
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]
T: Manifest + 'static,
impl<T> Tag<T> where
T: Manifest,
[src]
T: Manifest,
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]
T: Max + 'static,
impl<T> Tag<T> where
T: Max,
[src]
T: Max,
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]
T: Maxlength + 'static,
impl<T> Tag<T> where
T: Maxlength,
[src]
T: Maxlength,
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]
T: Minlength + 'static,
impl<T> Tag<T> where
T: Minlength,
[src]
T: Minlength,
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]
T: Media + 'static,
impl<T> Tag<T> where
T: Media,
[src]
T: Media,
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]
T: Method + 'static,
impl<T> Tag<T> where
T: Method,
[src]
T: Method,
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]
T: Min + 'static,
impl<T> Tag<T> where
T: Min,
[src]
T: Min,
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]
T: Multiple + 'static,
impl<T> Tag<T> where
T: Multiple,
[src]
T: Multiple,
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]
T: Muted + 'static,
impl<T> Tag<T> where
T: Muted,
[src]
T: Muted,
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]
T: Name + 'static,
impl<T> Tag<T> where
T: Name,
[src]
T: Name,
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]
T: Novalidate + 'static,
pub fn novalidate(self, value: impl Value) -> Self
[src]
Set the value of the novalidate
attribute.
impl<T> Tag<T> where
T: Novalidate,
[src]
T: Novalidate,
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]
T: Open + 'static,
impl<T> Tag<T> where
T: Open,
[src]
T: Open,
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]
T: Optimum + 'static,
impl<T> Tag<T> where
T: Optimum,
[src]
T: Optimum,
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]
T: Pattern + 'static,
impl<T> Tag<T> where
T: Pattern,
[src]
T: Pattern,
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]
T: Ping + 'static,
impl<T> Tag<T> where
T: Ping,
[src]
T: Ping,
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]
T: Placeholder + 'static,
pub fn placeholder(self, value: impl Value) -> Self
[src]
Set the value of the placeholder
attribute.
impl<T> Tag<T> where
T: Placeholder,
[src]
T: Placeholder,
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]
T: Poster + 'static,
impl<T> Tag<T> where
T: Poster,
[src]
T: Poster,
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]
T: Preload + 'static,
impl<T> Tag<T> where
T: Preload,
[src]
T: Preload,
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]
T: Readonly + 'static,
impl<T> Tag<T> where
T: Readonly,
[src]
T: Readonly,
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]
T: Referrerpolicy + 'static,
pub fn referrerpolicy(self, value: impl Value) -> Self
[src]
Set the value of the referrerpolicy
attribute.
impl<T> Tag<T> where
T: Referrerpolicy,
[src]
T: Referrerpolicy,
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]
T: Rel + 'static,
impl<T> Tag<T> where
T: Rel,
[src]
T: Rel,
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]
T: Required + 'static,
impl<T> Tag<T> where
T: Required,
[src]
T: Required,
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]
T: Reversed + 'static,
impl<T> Tag<T> where
T: Reversed,
[src]
T: Reversed,
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]
T: Rows + 'static,
impl<T> Tag<T> where
T: Rows,
[src]
T: Rows,
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]
T: Rowspan + 'static,
impl<T> Tag<T> where
T: Rowspan,
[src]
T: Rowspan,
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]
T: Sandbox + 'static,
impl<T> Tag<T> where
T: Sandbox,
[src]
T: Sandbox,
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]
T: Scope + 'static,
impl<T> Tag<T> where
T: Scope,
[src]
T: Scope,
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]
T: Scoped + 'static,
impl<T> Tag<T> where
T: Scoped,
[src]
T: Scoped,
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]
T: Selected + 'static,
impl<T> Tag<T> where
T: Selected,
[src]
T: Selected,
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]
T: Shape + 'static,
impl<T> Tag<T> where
T: Shape,
[src]
T: Shape,
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]
T: Size + 'static,
impl<T> Tag<T> where
T: Size,
[src]
T: Size,
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]
T: Sizes + 'static,
impl<T> Tag<T> where
T: Sizes,
[src]
T: Sizes,
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]
T: Slot + 'static,
impl<T> Tag<T> where
T: Slot,
[src]
T: Slot,
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]
T: Span + 'static,
impl<T> Tag<T> where
T: Span,
[src]
T: Span,
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]
T: Spellcheck + 'static,
pub fn spellcheck(self, value: impl Value) -> Self
[src]
Set the value of the spellcheck
attribute.
impl<T> Tag<T> where
T: Spellcheck,
[src]
T: Spellcheck,
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]
T: Src + 'static,
impl<T> Tag<T> where
T: Src,
[src]
T: 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]
T: Srcdoc + 'static,
impl<T> Tag<T> where
T: Srcdoc,
[src]
T: Srcdoc,
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]
T: Srclang + 'static,
impl<T> Tag<T> where
T: Srclang,
[src]
T: Srclang,
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]
T: Srcset + 'static,
impl<T> Tag<T> where
T: Srcset,
[src]
T: Srcset,
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]
T: Start + 'static,
impl<T> Tag<T> where
T: Start,
[src]
T: Start,
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]
T: Step + 'static,
impl<T> Tag<T> where
T: Step,
[src]
T: Step,
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]
T: Style + 'static,
impl<T> Tag<T> where
T: Style,
[src]
T: Style,
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]
T: Summary + 'static,
impl<T> Tag<T> where
T: Summary,
[src]
T: Summary,
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]
T: Tabindex + 'static,
impl<T> Tag<T> where
T: Tabindex,
[src]
T: Tabindex,
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]
T: Target + 'static,
impl<T> Tag<T> where
T: Target,
[src]
T: Target,
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]
T: Title + 'static,
impl<T> Tag<T> where
T: Title,
[src]
T: Title,
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]
T: Translate + 'static,
impl<T> Tag<T> where
T: Translate,
[src]
T: Translate,
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]
T: Type + 'static,
impl<T> Tag<T> where
T: Type,
[src]
T: Type,
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]
T: Usemap + 'static,
impl<T> Tag<T> where
T: Usemap,
[src]
T: Usemap,
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]
T: Value + 'static,
impl<T> Tag<T> where
T: Value,
[src]
T: Value,
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]
T: Width + 'static,
impl<T> Tag<T> where
T: Width,
[src]
T: Width,
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]
T: Wrap + 'static,
impl<T> Tag<T> where
T: Wrap,
[src]
T: Wrap,
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Component for Tag<T>
[src]
impl<T> Default for Tag<T> where
T: HtmlElement,
[src]
T: HtmlElement,
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,
T: Unpin,
impl<T> !UnwindSafe for Tag<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,