pub struct Subscript {
pub role: Option<Role>,
pub id: Option<String>,
pub form: Form,
pub content: Vec<InlineNode>,
pub location: Location,
}Expand description
A Subscript represents a subscript section of text in a document.
Fields§
§role: Option<Role>§id: Option<String>§form: Form§content: Vec<InlineNode>§location: LocationTrait Implementations§
Source§impl<'de> Deserialize<'de> for Subscript
impl<'de> Deserialize<'de> for Subscript
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
impl StructuralPartialEq for Subscript
Auto Trait Implementations§
impl Freeze for Subscript
impl RefUnwindSafe for Subscript
impl Send for Subscript
impl Sync for Subscript
impl Unpin for Subscript
impl UnwindSafe for Subscript
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