Struct html_sys::text::SuperScript
source · #[non_exhaustive]pub struct SuperScript {
pub data_map: DataMap,
/* private fields */
}
Expand description
The HTML <sup>
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 SuperScript
impl Clone for SuperScript
source§fn clone(&self) -> SuperScript
fn clone(&self) -> SuperScript
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 SuperScript
impl Debug for SuperScript
source§impl Default for SuperScript
impl Default for SuperScript
source§fn default() -> SuperScript
fn default() -> SuperScript
Returns the “default value” for a type. Read more
source§impl Deref for SuperScript
impl Deref for SuperScript
source§impl DerefMut for SuperScript
impl DerefMut for SuperScript
source§impl Display for SuperScript
impl Display for SuperScript
source§impl PartialEq<SuperScript> for SuperScript
impl PartialEq<SuperScript> for SuperScript
source§fn eq(&self, other: &SuperScript) -> bool
fn eq(&self, other: &SuperScript) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl RenderElement for SuperScript
impl RenderElement for SuperScript
impl StructuralPartialEq for SuperScript
Auto Trait Implementations§
impl RefUnwindSafe for SuperScript
impl Send for SuperScript
impl Sync for SuperScript
impl Unpin for SuperScript
impl UnwindSafe for SuperScript
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