Struct NodeCode

struct NodeCode { ... }

An inline code span.

Fields

num_backticks: usize

The number of backticks

literal: String

The content of the inline code span. As the contents are not interpreted as Markdown at all, they are contained within this structure, rather than inserted into a child inline of any kind.

Implementations

impl Clone for NodeCode

fn clone(self: &Self) -> NodeCode

impl Debug for NodeCode

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for NodeCode

impl Freeze for NodeCode

impl PartialEq for NodeCode

fn eq(self: &Self, other: &NodeCode) -> bool

impl RefUnwindSafe for NodeCode

impl Send for NodeCode

impl StructuralPartialEq for NodeCode

impl Sync for NodeCode

impl Unpin for NodeCode

impl UnwindSafe for NodeCode

impl<T> Any for NodeCode

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for NodeCode

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for NodeCode

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for NodeCode

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for NodeCode

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for NodeCode

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for NodeCode

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for NodeCode

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for NodeCode

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>