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 ==
.source§impl RenderElement for PreformattedText
impl RenderElement for PreformattedText
impl StructuralPartialEq for PreformattedText
Auto Trait Implementations§
impl RefUnwindSafe for PreformattedText
impl Send for PreformattedText
impl Sync for PreformattedText
impl Unpin for PreformattedText
impl UnwindSafe for PreformattedText
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more