Struct html::text_content::BlockQuote
source · #[non_exhaustive]pub struct BlockQuote { /* private fields */ }Expand description
The HTML <blockquote> element
Implementations§
source§impl BlockQuote
impl BlockQuote
sourcepub fn builder() -> BlockQuoteBuilder
pub fn builder() -> BlockQuoteBuilder
Create a new builder
source§impl BlockQuote
impl BlockQuote
source§impl BlockQuote
impl BlockQuote
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 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 BlockQuote
impl BlockQuote
sourcepub fn children(&self) -> &[BlockQuoteChild]
pub fn children(&self) -> &[BlockQuoteChild]
Access the element’s children
sourcepub fn children_mut(&mut self) -> &mut Vec<BlockQuoteChild>
pub fn children_mut(&mut self) -> &mut Vec<BlockQuoteChild>
Mutably access the element’s children
Trait Implementations§
source§impl Clone for BlockQuote
impl Clone for BlockQuote
source§fn clone(&self) -> BlockQuote
fn clone(&self) -> BlockQuote
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BlockQuote
impl Debug for BlockQuote
source§impl Default for BlockQuote
impl Default for BlockQuote
source§fn default() -> BlockQuote
fn default() -> BlockQuote
source§impl Display for BlockQuote
impl Display for BlockQuote
source§impl From<BlockQuote> for AddressChild
impl From<BlockQuote> for AddressChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for AnchorChild
impl From<BlockQuote> for AnchorChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for ArticleChild
impl From<BlockQuote> for ArticleChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for AsideChild
impl From<BlockQuote> for AsideChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for AudioChild
impl From<BlockQuote> for AudioChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for BlockQuote
impl From<BlockQuote> for BlockQuote
source§fn from(sys: BlockQuote) -> Self
fn from(sys: BlockQuote) -> Self
source§impl From<BlockQuote> for BlockQuoteChild
impl From<BlockQuote> for BlockQuoteChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for BodyChild
impl From<BlockQuote> for BodyChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for CanvasChild
impl From<BlockQuote> for CanvasChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for CaptionChild
impl From<BlockQuote> for CaptionChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DeletedTextChild
impl From<BlockQuote> for DeletedTextChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DescriptionDetailsChild
impl From<BlockQuote> for DescriptionDetailsChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DescriptionTermChild
impl From<BlockQuote> for DescriptionTermChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DetailsChild
impl From<BlockQuote> for DetailsChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DialogChild
impl From<BlockQuote> for DialogChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for DivisionChild
impl From<BlockQuote> for DivisionChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for FieldsetChild
impl From<BlockQuote> for FieldsetChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for FigureCaptionChild
impl From<BlockQuote> for FigureCaptionChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for FigureChild
impl From<BlockQuote> for FigureChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for FormChild
impl From<BlockQuote> for FormChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for HeaderChild
impl From<BlockQuote> for HeaderChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for ImageMapChild
impl From<BlockQuote> for ImageMapChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for InsertedTextChild
impl From<BlockQuote> for InsertedTextChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for ListItemChild
impl From<BlockQuote> for ListItemChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for MainChild
impl From<BlockQuote> for MainChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for NoScriptChild
impl From<BlockQuote> for NoScriptChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for ObjectChild
impl From<BlockQuote> for ObjectChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for SearchChild
impl From<BlockQuote> for SearchChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for SectionChild
impl From<BlockQuote> for SectionChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for SlotChild
impl From<BlockQuote> for SlotChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for TableCellChild
impl From<BlockQuote> for TableCellChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for TableHeaderChild
impl From<BlockQuote> for TableHeaderChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl From<BlockQuote> for VideoChild
impl From<BlockQuote> for VideoChild
source§fn from(value: BlockQuote) -> Self
fn from(value: BlockQuote) -> Self
source§impl Into<BlockQuote> for BlockQuote
impl Into<BlockQuote> for BlockQuote
source§fn into(self) -> BlockQuote
fn into(self) -> BlockQuote
source§impl PartialEq<BlockQuote> for BlockQuote
impl PartialEq<BlockQuote> for BlockQuote
source§fn eq(&self, other: &BlockQuote) -> bool
fn eq(&self, other: &BlockQuote) -> bool
self and other values to be equal, and is used
by ==.