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