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