pub struct MdLink {
pub start: usize,
pub image: bool,
pub text: String,
pub target: String,
}Expand description
A plain Markdown link or image: [text](target) or .
Fields§
§start: usizeByte offset in the body.
image: bool§text: String§target: StringTrait Implementations§
impl StructuralPartialEq for MdLink
Auto Trait Implementations§
impl Freeze for MdLink
impl RefUnwindSafe for MdLink
impl Send for MdLink
impl Sync for MdLink
impl Unpin for MdLink
impl UnsafeUnpin for MdLink
impl UnwindSafe for MdLink
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more