pub struct InlineCode {
pub span: Option<Span>,
pub value: String,
}Expand description
See Node::InlineCode.
Fields§
§span: Option<Span>Where this node came from in the source, if known.
value: StringThe code.
Trait Implementations§
Source§impl Clone for InlineCode
impl Clone for InlineCode
Source§impl Debug for InlineCode
impl Debug for InlineCode
Source§impl Default for InlineCode
impl Default for InlineCode
Source§impl<'de> Deserialize<'de> for InlineCode
impl<'de> Deserialize<'de> for InlineCode
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 From<InlineCode> for Node
impl From<InlineCode> for Node
Source§fn from(n: InlineCode) -> Self
fn from(n: InlineCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InlineCode
impl PartialEq for InlineCode
Source§impl Serialize for InlineCode
impl Serialize for InlineCode
impl StructuralPartialEq for InlineCode
Auto Trait Implementations§
impl Forget for InlineCode
impl Freeze for InlineCode
impl Move 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