#[non_exhaustive]pub struct SubScript { /* private fields */ }
Expand description
The HTML <sub>
element
Implementations§
Source§impl SubScript
impl SubScript
Sourcepub fn set_role(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_role(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the role
attribute
Sourcepub fn aria_active_descendant_element(&self) -> Option<&str>
pub fn aria_active_descendant_element(&self) -> Option<&str>
Get the value of the aria-activedescendant
attribute
Sourcepub fn set_aria_active_descendant_element(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_active_descendant_element( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-activedescendant
attribute
Sourcepub fn aria_atomic(&self) -> bool
pub fn aria_atomic(&self) -> bool
Get the value of the aria-atomic
attribute
Sourcepub fn set_aria_atomic(&mut self, value: bool)
pub fn set_aria_atomic(&mut self, value: bool)
Set the value of the aria-atomic
attribute
Sourcepub fn aria_auto_complete(&self) -> Option<&str>
pub fn aria_auto_complete(&self) -> Option<&str>
Get the value of the aria-autocomplete
attribute
Sourcepub fn set_aria_auto_complete(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_auto_complete( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-autocomplete
attribute
Sourcepub fn aria_braille_role_description(&self) -> Option<&str>
pub fn aria_braille_role_description(&self) -> Option<&str>
Get the value of the aria-brailleroledescription
attribute
Sourcepub fn set_aria_braille_role_description(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_braille_role_description( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-brailleroledescription
attribute
Sourcepub fn set_aria_busy(&mut self, value: bool)
pub fn set_aria_busy(&mut self, value: bool)
Set the value of the aria-busy
attribute
Sourcepub fn aria_checked(&self) -> Option<&str>
pub fn aria_checked(&self) -> Option<&str>
Get the value of the aria-checked
attribute
Sourcepub fn set_aria_checked(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_checked(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-checked
attribute
Sourcepub fn aria_col_count(&self) -> Option<i64>
pub fn aria_col_count(&self) -> Option<i64>
Get the value of the aria-colcount
attribute
Sourcepub fn set_aria_col_count(&mut self, value: Option<i64>)
pub fn set_aria_col_count(&mut self, value: Option<i64>)
Set the value of the aria-colcount
attribute
Sourcepub fn aria_col_index(&self) -> Option<i64>
pub fn aria_col_index(&self) -> Option<i64>
Get the value of the aria-colindex
attribute
Sourcepub fn set_aria_col_index(&mut self, value: Option<i64>)
pub fn set_aria_col_index(&mut self, value: Option<i64>)
Set the value of the aria-colindex
attribute
Sourcepub fn aria_col_index_text(&self) -> Option<&str>
pub fn aria_col_index_text(&self) -> Option<&str>
Get the value of the aria-colindextext
attribute
Sourcepub fn set_aria_col_index_text(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_col_index_text( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-colindextext
attribute
Sourcepub fn aria_col_span(&self) -> Option<i64>
pub fn aria_col_span(&self) -> Option<i64>
Get the value of the aria-colspan
attribute
Sourcepub fn set_aria_col_span(&mut self, value: Option<i64>)
pub fn set_aria_col_span(&mut self, value: Option<i64>)
Set the value of the aria-colspan
attribute
Sourcepub fn aria_controls_elements(&self) -> Option<&str>
pub fn aria_controls_elements(&self) -> Option<&str>
Get the value of the aria-controls
attribute
Sourcepub fn set_aria_controls_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_controls_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-controls
attribute
Sourcepub fn aria_current(&self) -> Option<&str>
pub fn aria_current(&self) -> Option<&str>
Get the value of the aria-current
attribute
Sourcepub fn set_aria_current(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_current(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-current
attribute
Sourcepub fn aria_described_by_elements(&self) -> Option<&str>
pub fn aria_described_by_elements(&self) -> Option<&str>
Get the value of the aria-describedby
attribute
Sourcepub fn set_aria_described_by_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_described_by_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-describedby
attribute
Sourcepub fn aria_description(&self) -> Option<&str>
pub fn aria_description(&self) -> Option<&str>
Get the value of the aria-description
attribute
Sourcepub fn set_aria_description(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_description( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-description
attribute
Sourcepub fn aria_details_elements(&self) -> Option<&str>
pub fn aria_details_elements(&self) -> Option<&str>
Get the value of the aria-details
attribute
Sourcepub fn set_aria_details_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_details_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-details
attribute
Sourcepub fn aria_disabled(&self) -> bool
pub fn aria_disabled(&self) -> bool
Get the value of the aria-disabled
attribute
Sourcepub fn set_aria_disabled(&mut self, value: bool)
pub fn set_aria_disabled(&mut self, value: bool)
Set the value of the aria-disabled
attribute
Sourcepub fn aria_drop_effect(&self) -> Option<&str>
pub fn aria_drop_effect(&self) -> Option<&str>
Get the value of the aria-dropeffect
attribute
Sourcepub fn set_aria_drop_effect(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_drop_effect( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-dropeffect
attribute
Sourcepub fn aria_error_message_elements(&self) -> Option<&str>
pub fn aria_error_message_elements(&self) -> Option<&str>
Get the value of the aria-errormessage
attribute
Sourcepub fn set_aria_error_message_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_error_message_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-errormessage
attribute
Sourcepub fn aria_expanded(&self) -> bool
pub fn aria_expanded(&self) -> bool
Get the value of the aria-expanded
attribute
Sourcepub fn set_aria_expanded(&mut self, value: bool)
pub fn set_aria_expanded(&mut self, value: bool)
Set the value of the aria-expanded
attribute
Sourcepub fn aria_flow_to_elements(&self) -> Option<&str>
pub fn aria_flow_to_elements(&self) -> Option<&str>
Get the value of the aria-flowto
attribute
Sourcepub fn set_aria_flow_to_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_flow_to_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-flowto
attribute
Sourcepub fn aria_grabbed(&self) -> bool
pub fn aria_grabbed(&self) -> bool
Get the value of the aria-grabbed
attribute
Sourcepub fn set_aria_grabbed(&mut self, value: bool)
pub fn set_aria_grabbed(&mut self, value: bool)
Set the value of the aria-grabbed
attribute
Sourcepub fn aria_has_popup(&self) -> Option<&str>
pub fn aria_has_popup(&self) -> Option<&str>
Get the value of the aria-haspopup
attribute
Sourcepub fn set_aria_has_popup(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_has_popup( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-haspopup
attribute
Get the value of the aria-hidden
attribute
Set the value of the aria-hidden
attribute
Sourcepub fn aria_invalid(&self) -> Option<&str>
pub fn aria_invalid(&self) -> Option<&str>
Get the value of the aria-invalid
attribute
Sourcepub fn set_aria_invalid(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_invalid(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-invalid
attribute
Sourcepub fn aria_key_shortcuts(&self) -> Option<&str>
pub fn aria_key_shortcuts(&self) -> Option<&str>
Get the value of the aria-keyshortcuts
attribute
Sourcepub fn set_aria_key_shortcuts(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_key_shortcuts( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-keyshortcuts
attribute
Sourcepub fn aria_level(&self) -> Option<i64>
pub fn aria_level(&self) -> Option<i64>
Get the value of the aria-level
attribute
Sourcepub fn set_aria_level(&mut self, value: Option<i64>)
pub fn set_aria_level(&mut self, value: Option<i64>)
Set the value of the aria-level
attribute
Sourcepub fn set_aria_live(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_live(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-live
attribute
Sourcepub fn aria_modal(&self) -> bool
pub fn aria_modal(&self) -> bool
Get the value of the aria-modal
attribute
Sourcepub fn set_aria_modal(&mut self, value: bool)
pub fn set_aria_modal(&mut self, value: bool)
Set the value of the aria-modal
attribute
Sourcepub fn aria_multi_line(&self) -> bool
pub fn aria_multi_line(&self) -> bool
Get the value of the aria-multiline
attribute
Sourcepub fn set_aria_multi_line(&mut self, value: bool)
pub fn set_aria_multi_line(&mut self, value: bool)
Set the value of the aria-multiline
attribute
Sourcepub fn aria_multi_selectable(&self) -> bool
pub fn aria_multi_selectable(&self) -> bool
Get the value of the aria-multiselectable
attribute
Sourcepub fn set_aria_multi_selectable(&mut self, value: bool)
pub fn set_aria_multi_selectable(&mut self, value: bool)
Set the value of the aria-multiselectable
attribute
Sourcepub fn aria_orientation(&self) -> Option<&str>
pub fn aria_orientation(&self) -> Option<&str>
Get the value of the aria-orientation
attribute
Sourcepub fn set_aria_orientation(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_orientation( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-orientation
attribute
Sourcepub fn aria_owns_elements(&self) -> Option<&str>
pub fn aria_owns_elements(&self) -> Option<&str>
Get the value of the aria-owns
attribute
Sourcepub fn set_aria_owns_elements(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_owns_elements( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-owns
attribute
Sourcepub fn aria_placeholder(&self) -> Option<&str>
pub fn aria_placeholder(&self) -> Option<&str>
Get the value of the aria-placeholder
attribute
Sourcepub fn set_aria_placeholder(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_placeholder( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-placeholder
attribute
Sourcepub fn aria_pos_in_set(&self) -> Option<i64>
pub fn aria_pos_in_set(&self) -> Option<i64>
Get the value of the aria-posinset
attribute
Sourcepub fn set_aria_pos_in_set(&mut self, value: Option<i64>)
pub fn set_aria_pos_in_set(&mut self, value: Option<i64>)
Set the value of the aria-posinset
attribute
Sourcepub fn aria_pressed(&self) -> Option<&str>
pub fn aria_pressed(&self) -> Option<&str>
Get the value of the aria-pressed
attribute
Sourcepub fn set_aria_pressed(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_pressed(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-pressed
attribute
Sourcepub fn aria_read_only(&self) -> bool
pub fn aria_read_only(&self) -> bool
Get the value of the aria-readonly
attribute
Sourcepub fn set_aria_read_only(&mut self, value: bool)
pub fn set_aria_read_only(&mut self, value: bool)
Set the value of the aria-readonly
attribute
Sourcepub fn aria_relevant(&self) -> Option<&str>
pub fn aria_relevant(&self) -> Option<&str>
Get the value of the aria-relevant
attribute
Sourcepub fn set_aria_relevant(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_relevant(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-relevant
attribute
Sourcepub fn aria_required(&self) -> bool
pub fn aria_required(&self) -> bool
Get the value of the aria-required
attribute
Sourcepub fn set_aria_required(&mut self, value: bool)
pub fn set_aria_required(&mut self, value: bool)
Set the value of the aria-required
attribute
Sourcepub fn aria_role_description(&self) -> Option<&str>
pub fn aria_role_description(&self) -> Option<&str>
Get the value of the aria-roledescription
attribute
Sourcepub fn set_aria_role_description(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_role_description( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-roledescription
attribute
Sourcepub fn aria_row_count(&self) -> Option<i64>
pub fn aria_row_count(&self) -> Option<i64>
Get the value of the aria-rowcount
attribute
Sourcepub fn set_aria_row_count(&mut self, value: Option<i64>)
pub fn set_aria_row_count(&mut self, value: Option<i64>)
Set the value of the aria-rowcount
attribute
Sourcepub fn aria_row_index(&self) -> Option<i64>
pub fn aria_row_index(&self) -> Option<i64>
Get the value of the aria-rowindex
attribute
Sourcepub fn set_aria_row_index(&mut self, value: Option<i64>)
pub fn set_aria_row_index(&mut self, value: Option<i64>)
Set the value of the aria-rowindex
attribute
Sourcepub fn aria_row_index_text(&self) -> Option<&str>
pub fn aria_row_index_text(&self) -> Option<&str>
Get the value of the aria-rowindextext
attribute
Sourcepub fn set_aria_row_index_text(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_row_index_text( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-rowindextext
attribute
Sourcepub fn aria_row_span(&self) -> Option<i64>
pub fn aria_row_span(&self) -> Option<i64>
Get the value of the aria-rowspan
attribute
Sourcepub fn set_aria_row_span(&mut self, value: Option<i64>)
pub fn set_aria_row_span(&mut self, value: Option<i64>)
Set the value of the aria-rowspan
attribute
Sourcepub fn aria_selected(&self) -> bool
pub fn aria_selected(&self) -> bool
Get the value of the aria-selected
attribute
Sourcepub fn set_aria_selected(&mut self, value: bool)
pub fn set_aria_selected(&mut self, value: bool)
Set the value of the aria-selected
attribute
Sourcepub fn aria_set_size(&self) -> Option<i64>
pub fn aria_set_size(&self) -> Option<i64>
Get the value of the aria-setsize
attribute
Sourcepub fn set_aria_set_size(&mut self, value: Option<i64>)
pub fn set_aria_set_size(&mut self, value: Option<i64>)
Set the value of the aria-setsize
attribute
Sourcepub fn set_aria_sort(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_aria_sort(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the aria-sort
attribute
Sourcepub fn aria_value_max(&self) -> Option<f64>
pub fn aria_value_max(&self) -> Option<f64>
Get the value of the aria-valuemax
attribute
Sourcepub fn set_aria_value_max(&mut self, value: Option<f64>)
pub fn set_aria_value_max(&mut self, value: Option<f64>)
Set the value of the aria-valuemax
attribute
Sourcepub fn aria_value_min(&self) -> Option<f64>
pub fn aria_value_min(&self) -> Option<f64>
Get the value of the aria-valuemin
attribute
Sourcepub fn set_aria_value_min(&mut self, value: Option<f64>)
pub fn set_aria_value_min(&mut self, value: Option<f64>)
Set the value of the aria-valuemin
attribute
Sourcepub fn aria_value_now(&self) -> Option<f64>
pub fn aria_value_now(&self) -> Option<f64>
Get the value of the aria-valuenow
attribute
Sourcepub fn set_aria_value_now(&mut self, value: Option<f64>)
pub fn set_aria_value_now(&mut self, value: Option<f64>)
Set the value of the aria-valuenow
attribute
Sourcepub fn aria_value_text(&self) -> Option<&str>
pub fn aria_value_text(&self) -> Option<&str>
Get the value of the aria-valuetext
attribute
Sourcepub fn set_aria_value_text(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_aria_value_text( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the aria-valuetext
attribute
Sourcepub fn access_key(&self) -> Option<&str>
pub fn access_key(&self) -> Option<&str>
Get the value of the accesskey
attribute
Sourcepub fn set_access_key(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_access_key(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the accesskey
attribute
Sourcepub fn auto_capitalize(&self) -> Option<&str>
pub fn auto_capitalize(&self) -> Option<&str>
Get the value of the autocapitalize
attribute
Sourcepub fn set_auto_capitalize(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_auto_capitalize( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the autocapitalize
attribute
Sourcepub fn set_autofocus(&mut self, value: bool)
pub fn set_autofocus(&mut self, value: bool)
Set the value of the autofocus
attribute
Sourcepub fn set_class(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_class(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the class
attribute
Sourcepub fn content_editable(&self) -> Option<&str>
pub fn content_editable(&self) -> Option<&str>
Get the value of the contenteditable
attribute
Sourcepub fn set_content_editable(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_content_editable( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the contenteditable
attribute
Sourcepub fn set_direction(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_direction(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the dir
attribute
Sourcepub fn set_draggable(&mut self, value: bool)
pub fn set_draggable(&mut self, value: bool)
Set the value of the draggable
attribute
Sourcepub fn enter_key_hint(&self) -> Option<&str>
pub fn enter_key_hint(&self) -> Option<&str>
Get the value of the enterkeyhint
attribute
Sourcepub fn set_enter_key_hint(
&mut self,
value: Option<impl Into<Cow<'static, str>>>,
)
pub fn set_enter_key_hint( &mut self, value: Option<impl Into<Cow<'static, str>>>, )
Set the value of the enterkeyhint
attribute
Sourcepub fn export_parts(&self) -> Option<&str>
pub fn export_parts(&self) -> Option<&str>
Get the value of the exportparts
attribute
Sourcepub fn set_export_parts(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_export_parts(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the exportparts
attribute
Get the value of the hidden
attribute
Set the value of the hidden
attribute
Sourcepub fn set_id(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_id(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the id
attribute
Sourcepub fn input_mode(&self) -> Option<&str>
pub fn input_mode(&self) -> Option<&str>
Get the value of the inputmode
attribute
Sourcepub fn set_input_mode(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_input_mode(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the inputmode
attribute
Sourcepub fn set_is_(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_is_(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the is
attribute
Sourcepub fn set_item_id(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_item_id(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the itemid
attribute
Sourcepub fn set_item_prop(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_item_prop(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the itemprop
attribute
Sourcepub fn set_item_ref(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_item_ref(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the itemref
attribute
Sourcepub fn item_scope(&self) -> Option<&str>
pub fn item_scope(&self) -> Option<&str>
Get the value of the itemscope
attribute
Sourcepub fn set_item_scope(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_item_scope(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the itemscope
attribute
Sourcepub fn set_item_type(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_item_type(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the itemtype
attribute
Sourcepub fn set_lang(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_lang(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the lang
attribute
Sourcepub fn set_nonce(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_nonce(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the nonce
attribute
Sourcepub fn set_part(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_part(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the part
attribute
Sourcepub fn set_slot(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_slot(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the slot
attribute
Sourcepub fn spellcheck(&self) -> Option<&str>
pub fn spellcheck(&self) -> Option<&str>
Get the value of the spellcheck
attribute
Sourcepub fn set_spellcheck(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_spellcheck(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the spellcheck
attribute
Sourcepub fn set_style(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_style(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the style
attribute
Sourcepub fn set_tab_index(&mut self, value: Option<i64>)
pub fn set_tab_index(&mut self, value: Option<i64>)
Set the value of the tabindex
attribute
Sourcepub fn set_title(&mut self, value: Option<impl Into<Cow<'static, str>>>)
pub fn set_title(&mut self, value: Option<impl Into<Cow<'static, str>>>)
Set the value of the title
attribute
Sourcepub fn set_translate(&mut self, value: bool)
pub fn set_translate(&mut self, value: bool)
Set the value of the translate
attribute
Source§impl SubScript
impl SubScript
Sourcepub fn children(&self) -> &[SubScriptChild]
pub fn children(&self) -> &[SubScriptChild]
Access the element’s children
Sourcepub fn children_mut(&mut self) -> &mut Vec<SubScriptChild>
pub fn children_mut(&mut self) -> &mut Vec<SubScriptChild>
Mutably access the element’s children