pub struct Superscript {
pub meta: NodeMeta,
pub children: Vec<Inline>,
}Expand description
Superscript: ^x^.
Fields§
§meta: NodeMetaNode metadata (source span).
children: Vec<Inline>The superscripted inline content.
Trait Implementations§
Source§impl Clone for Superscript
impl Clone for Superscript
Source§fn clone(&self) -> Superscript
fn clone(&self) -> Superscript
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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
impl Eq for Superscript
Source§impl From<Superscript> for Inline
impl From<Superscript> for Inline
Source§fn from(node: Superscript) -> Self
fn from(node: Superscript) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Superscript
impl PartialEq for Superscript
Source§fn eq(&self, other: &Superscript) -> bool
fn eq(&self, other: &Superscript) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Superscript
Auto Trait Implementations§
impl Freeze for Superscript
impl RefUnwindSafe for Superscript
impl Send for Superscript
impl Sync for Superscript
impl Unpin for Superscript
impl UnsafeUnpin 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