Struct html::inline_text::StrikeThrough
source · #[non_exhaustive]pub struct StrikeThrough { /* private fields */ }Expand description
The HTML <s> element
Implementations§
source§impl StrikeThrough
impl StrikeThrough
sourcepub fn builder() -> StrikeThroughBuilder
pub fn builder() -> StrikeThroughBuilder
Create a new builder
source§impl StrikeThrough
impl StrikeThrough
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 StrikeThrough
impl StrikeThrough
sourcepub fn children(&self) -> &[StrikeThroughChild]
pub fn children(&self) -> &[StrikeThroughChild]
Access the element’s children
sourcepub fn children_mut(&mut self) -> &mut Vec<StrikeThroughChild>
pub fn children_mut(&mut self) -> &mut Vec<StrikeThroughChild>
Mutably access the element’s children
Trait Implementations§
source§impl Clone for StrikeThrough
impl Clone for StrikeThrough
source§fn clone(&self) -> StrikeThrough
fn clone(&self) -> StrikeThrough
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StrikeThrough
impl Debug for StrikeThrough
source§impl Default for StrikeThrough
impl Default for StrikeThrough
source§fn default() -> StrikeThrough
fn default() -> StrikeThrough
source§impl Display for StrikeThrough
impl Display for StrikeThrough
source§impl From<StrikeThrough> for AbbreviationChild
impl From<StrikeThrough> for AbbreviationChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for AddressChild
impl From<StrikeThrough> for AddressChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for ArticleChild
impl From<StrikeThrough> for ArticleChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for AsideChild
impl From<StrikeThrough> for AsideChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for BidirectionalIsolateChild
impl From<StrikeThrough> for BidirectionalIsolateChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for BidirectionalTextOverrideChild
impl From<StrikeThrough> for BidirectionalTextOverrideChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for BlockQuoteChild
impl From<StrikeThrough> for BlockQuoteChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for BoldChild
impl From<StrikeThrough> for BoldChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for ButtonChild
impl From<StrikeThrough> for ButtonChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for CiteChild
impl From<StrikeThrough> for CiteChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for CodeChild
impl From<StrikeThrough> for CodeChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for DataChild
impl From<StrikeThrough> for DataChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for DefinitionChild
impl From<StrikeThrough> for DefinitionChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for DialogChild
impl From<StrikeThrough> for DialogChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for DivisionChild
impl From<StrikeThrough> for DivisionChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for EmphasisChild
impl From<StrikeThrough> for EmphasisChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for FormChild
impl From<StrikeThrough> for FormChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for HeaderChild
impl From<StrikeThrough> for HeaderChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading1Child
impl From<StrikeThrough> for Heading1Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading2Child
impl From<StrikeThrough> for Heading2Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading3Child
impl From<StrikeThrough> for Heading3Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading4Child
impl From<StrikeThrough> for Heading4Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading5Child
impl From<StrikeThrough> for Heading5Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for Heading6Child
impl From<StrikeThrough> for Heading6Child
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for ItalicChild
impl From<StrikeThrough> for ItalicChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for KeyboardInputChild
impl From<StrikeThrough> for KeyboardInputChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for LabelChild
impl From<StrikeThrough> for LabelChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for MainChild
impl From<StrikeThrough> for MainChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for MarkTextChild
impl From<StrikeThrough> for MarkTextChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for MeterChild
impl From<StrikeThrough> for MeterChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for OutputChild
impl From<StrikeThrough> for OutputChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for ParagraphChild
impl From<StrikeThrough> for ParagraphChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for PreformattedTextChild
impl From<StrikeThrough> for PreformattedTextChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for ProgressChild
impl From<StrikeThrough> for ProgressChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for QuotationChild
impl From<StrikeThrough> for QuotationChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SampleOutputChild
impl From<StrikeThrough> for SampleOutputChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SectionChild
impl From<StrikeThrough> for SectionChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SideCommentChild
impl From<StrikeThrough> for SideCommentChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SpanChild
impl From<StrikeThrough> for SpanChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for StrikeThrough
impl From<StrikeThrough> for StrikeThrough
source§fn from(sys: StrikeThrough) -> Self
fn from(sys: StrikeThrough) -> Self
source§impl From<StrikeThrough> for StrikeThroughChild
impl From<StrikeThrough> for StrikeThroughChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for StrongChild
impl From<StrikeThrough> for StrongChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SubScriptChild
impl From<StrikeThrough> for SubScriptChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for SuperScriptChild
impl From<StrikeThrough> for SuperScriptChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for TimeChild
impl From<StrikeThrough> for TimeChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for UnderlineChild
impl From<StrikeThrough> for UnderlineChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl From<StrikeThrough> for VariableChild
impl From<StrikeThrough> for VariableChild
source§fn from(value: StrikeThrough) -> Self
fn from(value: StrikeThrough) -> Self
source§impl Into<StrikeThrough> for StrikeThrough
impl Into<StrikeThrough> for StrikeThrough
source§fn into(self) -> StrikeThrough
fn into(self) -> StrikeThrough
source§impl PartialEq<StrikeThrough> for StrikeThrough
impl PartialEq<StrikeThrough> for StrikeThrough
source§fn eq(&self, other: &StrikeThrough) -> bool
fn eq(&self, other: &StrikeThrough) -> bool
self and other values to be equal, and is used
by ==.source§impl PartialOrd<StrikeThrough> for StrikeThrough
impl PartialOrd<StrikeThrough> for StrikeThrough
source§fn partial_cmp(&self, other: &StrikeThrough) -> Option<Ordering>
fn partial_cmp(&self, other: &StrikeThrough) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self and other) and is used by the <=
operator. Read more