Struct html_sys::text::PreformattedText
source · #[non_exhaustive]pub struct PreformattedText { /* private fields */ }
Expand description
The HTML <pre>
element
Trait Implementations§
source§impl Clone for PreformattedText
impl Clone for PreformattedText
source§fn clone(&self) -> PreformattedText
fn clone(&self) -> PreformattedText
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 PreformattedText
impl Debug for PreformattedText
source§impl Default for PreformattedText
impl Default for PreformattedText
source§fn default() -> PreformattedText
fn default() -> PreformattedText
Returns the “default value” for a type. Read more
source§impl Deref for PreformattedText
impl Deref for PreformattedText
source§impl DerefMut for PreformattedText
impl DerefMut for PreformattedText
source§impl Display for PreformattedText
impl Display for PreformattedText
source§impl PartialEq<PreformattedText> for PreformattedText
impl PartialEq<PreformattedText> for PreformattedText
source§fn eq(&self, other: &PreformattedText) -> bool
fn eq(&self, other: &PreformattedText) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PreformattedText> for PreformattedText
impl PartialOrd<PreformattedText> for PreformattedText
source§fn partial_cmp(&self, other: &PreformattedText) -> Option<Ordering>
fn partial_cmp(&self, other: &PreformattedText) -> 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