Struct html_sys::text::PreformattedText
source · #[non_exhaustive]pub struct PreformattedText {
pub data_map: DataMap,
/* private fields */
}
Expand description
The HTML <pre>
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.data_map: DataMap
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 ==
.