Struct HTMLH3ElementProps

Source
pub struct HTMLH3ElementProps {
Show 29 fields pub children: Vec<Node>, pub id: String, pub key: String, pub class: String, pub style: String, pub title: Option<String>, pub width: Option<String>, pub height: Option<String>, pub draggable: bool, pub hidden: bool, pub accesskey: String, pub contenteditable: bool, pub dir: String, pub tabindex: Option<i32>, pub spellcheck: bool, pub lang: String, pub translate: bool, pub autocapitalize: String, pub role: String, pub aria_current: String, pub aria_label: Option<String>, pub aria_labelledby: Option<String>, pub aria_describedby: Option<String>, pub aria_expanded: bool, pub aria_selected: bool, pub aria_checked: String, pub aria_hidden: bool, pub aria_haspopup: String, pub aria_role: String,
}

Fields§

§children: Vec<Node>

The child nodes of the element

§id: String

The id attribute specifies a unique id for an HTML element

§key: String

A unique key to identify the element

§class: String

The class attribute specifies one or more class names for an HTML element

§style: String

The style attribute specifies an inline CSS style for an element

§title: Option<String>

The title attribute specifies extra information about an element (displayed as a tooltip)

§width: Option<String>

The width attribute specifies the width of the image

§height: Option<String>

The height attribute specifies the height of the image

§draggable: bool

Specifies whether an element is draggable or not

§hidden: bool

Specifies visibility of an element (hidden or visible)

§accesskey: String

Specifies a shortcut key to activate/focus an element

§contenteditable: bool

Specifies whether the content of an element is editable or not

§dir: String

Specifies the text direction for the content in an element

§tabindex: Option<i32>

Specifies the tabbing order of an element (when the tab button is used)

§spellcheck: bool

Specifies whether the element is to have its spelling and grammar checked

§lang: String

Specifies the language of the element’s content

§translate: bool

Specifies whether an element is translateable or not

§autocapitalize: String

Controls whether and how text input is automatically capitalized

§role: String

Specifies an inline CSS style for an element

§aria_current: String

Identifies the current element within a set

§aria_label: Option<String>

Defines a string value that labels the current element

§aria_labelledby: Option<String>

Identifies the element that labels the current element

§aria_describedby: Option<String>

Identifies the element that describes the current element

§aria_expanded: bool

Indicates whether an element is expanded or collapsed

§aria_selected: bool

Indicates the element that represents the current item within a container or set

§aria_checked: String

Indicates whether the element is checked, unchecked, or represents mixed mode

§aria_hidden: bool

Indicates whether an element and its subtree are hidden

§aria_haspopup: String

Indicates the availability and type of interactive popup element

§aria_role: String

Defines an element’s role

Trait Implementations§

Source§

impl Default for HTMLH3ElementProps

Source§

fn default() -> HTMLH3ElementProps

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.