pub struct InlineCode {
pub text: String,
pub byte_offset: usize,
pub raw_range: Range<usize>,
}Expand description
One inline code span. text excludes the surrounding backticks;
raw_range covers them.
Fields§
§text: String§byte_offset: usize§raw_range: Range<usize>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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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