pub struct AnnotationLink {
pub kind: String,
pub matched_text: String,
pub url: String,
pub start: usize,
pub end: usize,
}Expand description
A single hyperlink match inside annotation text.
Fields§
§kind: String§matched_text: String§url: String§start: usize§end: usizeTrait Implementations§
Source§impl Clone for AnnotationLink
impl Clone for AnnotationLink
Source§fn clone(&self) -> AnnotationLink
fn clone(&self) -> AnnotationLink
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 moreSource§impl Debug for AnnotationLink
impl Debug for AnnotationLink
impl Eq for AnnotationLink
Source§impl PartialEq for AnnotationLink
impl PartialEq for AnnotationLink
impl StructuralPartialEq for AnnotationLink
Auto Trait Implementations§
impl Freeze for AnnotationLink
impl RefUnwindSafe for AnnotationLink
impl Send for AnnotationLink
impl Sync for AnnotationLink
impl Unpin for AnnotationLink
impl UnsafeUnpin for AnnotationLink
impl UnwindSafe for AnnotationLink
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.