pub struct Superscript {
pub role: Option<Role>,
pub id: Option<String>,
pub form: Form,
pub content: Vec<InlineNode>,
pub location: Location,
}Expand description
A Superscript represents a superscript section of text in a document.
Fields§
§role: Option<Role>§id: Option<String>§form: Form§content: Vec<InlineNode>§location: LocationTrait 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 · 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<'de> Deserialize<'de> for Superscript
impl<'de> Deserialize<'de> for Superscript
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for Superscript
impl PartialEq for Superscript
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 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