Struct html_sys::text::BlockQuote
source · #[non_exhaustive]pub struct BlockQuote {
pub cite: Option<Cow<'static, str>>,
/* private fields */
}
Expand description
The HTML <blockquote>
element
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cite: Option<Cow<'static, str>>
Link to the source of the quotation or more information about the edit
Trait Implementations§
source§impl Clone for BlockQuote
impl Clone for BlockQuote
source§fn clone(&self) -> BlockQuote
fn clone(&self) -> BlockQuote
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl Deref for BlockQuote
impl Deref for BlockQuote
source§impl DerefMut for BlockQuote
impl DerefMut for BlockQuote
source§impl Display for BlockQuote
impl Display for 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
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<BlockQuote> for BlockQuote
impl PartialOrd<BlockQuote> for BlockQuote
source§fn partial_cmp(&self, other: &BlockQuote) -> Option<Ordering>
fn partial_cmp(&self, other: &BlockQuote) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more