pub struct InlineCode {
pub value: String,
pub position: Option<Position>,
pub lang: Option<String>,
}Expand description
Code (phrasing).
> | `a`
^^^Fields§
§value: StringContent model.
position: Option<Position>Positional info.
lang: Option<String>Optional language identifier parsed from an inline code prefix.
This is a Socketry Markdown extension; standard mdast inline code nodes do not have a language field.
Trait Implementations§
Source§impl Clone for InlineCode
impl Clone for InlineCode
Source§impl Debug for InlineCode
impl Debug for InlineCode
impl Eq for InlineCode
Source§impl PartialEq for InlineCode
impl PartialEq for InlineCode
impl StructuralPartialEq for InlineCode
Auto Trait Implementations§
impl Freeze for InlineCode
impl RefUnwindSafe for InlineCode
impl Send for InlineCode
impl Sync for InlineCode
impl Unpin for InlineCode
impl UnsafeUnpin for InlineCode
impl UnwindSafe for InlineCode
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