pub struct InlineCode {
pub value: String,
pub position: Option<Position>,
}Expand description
Code (phrasing).
> | `a`
^^^Fields§
§value: StringContent 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 duplicate 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
impl Eq 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 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