pub struct DocumentLink {
pub range: Range,
pub target: Url,
}
Expand description
A document link is a range in a text document that links to an internal or external resource, like another text document or a web site.
Fields§
§range: Range
The range this link applies to.
target: Url
The uri this link points to.
Trait Implementations§
Source§impl Debug for DocumentLink
impl Debug for DocumentLink
Source§impl<'de> Deserialize<'de> for DocumentLink
impl<'de> Deserialize<'de> for DocumentLink
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DocumentLink
impl PartialEq for DocumentLink
Source§impl Serialize for DocumentLink
impl Serialize for DocumentLink
impl Eq for DocumentLink
impl StructuralPartialEq for DocumentLink
Auto Trait Implementations§
impl Freeze for DocumentLink
impl RefUnwindSafe for DocumentLink
impl Send for DocumentLink
impl Sync for DocumentLink
impl Unpin for DocumentLink
impl UnwindSafe for DocumentLink
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