pub struct DocumentLink {
pub range: Range,
pub target: Option<DocumentUri>,
}Expand description
Specifies a link to another file.
Fields§
§range: RangeThe range inside the current document, that will redirect to the target.
target: Option<DocumentUri>The uri of the file to link 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
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