#[non_exhaustive]pub struct Heading2 {
pub data_map: DataMap,
/* private fields */
}
Expand description
The HTML <h2>
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 PartialEq<Heading2> for Heading2
impl PartialEq<Heading2> for Heading2
source§impl RenderElement for Heading2
impl RenderElement for Heading2
impl StructuralPartialEq for Heading2
Auto Trait Implementations§
impl RefUnwindSafe for Heading2
impl Send for Heading2
impl Sync for Heading2
impl Unpin for Heading2
impl UnwindSafe for Heading2
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