Struct markdown::mdast::InlineCode
source · pub struct InlineCode {
pub value: String,
pub position: Option<Position>,
}
Expand description
Code (phrasing).
> | `a`
^^^
Fields§
§value: String
Content model.
position: Option<Position>
Positional info.
Trait Implementations§
source§impl Clone for InlineCode
impl Clone for InlineCode
source§fn clone(&self) -> InlineCode
fn clone(&self) -> InlineCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for InlineCode
impl Debug for InlineCode
source§impl PartialEq for InlineCode
impl PartialEq for InlineCode
source§fn eq(&self, other: &InlineCode) -> bool
fn eq(&self, other: &InlineCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InlineCode
impl StructuralEq for InlineCode
impl StructuralPartialEq for InlineCode
Auto Trait Implementations§
impl RefUnwindSafe for InlineCode
impl Send for InlineCode
impl Sync for InlineCode
impl Unpin 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