#[non_exhaustive]pub struct DocumentUri(/* private fields */);Expand description
Opaque URI identifying a document. Generic over the wire form so this
crate does not leak lsp_types into its public surface.
Implementations§
Trait Implementations§
Source§impl Clone for DocumentUri
impl Clone for DocumentUri
Source§fn clone(&self) -> DocumentUri
fn clone(&self) -> DocumentUri
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 DocumentUri
impl Debug for DocumentUri
impl Eq for DocumentUri
Source§impl Hash for DocumentUri
impl Hash for DocumentUri
Source§impl PartialEq for DocumentUri
impl PartialEq for DocumentUri
Source§fn eq(&self, other: &DocumentUri) -> bool
fn eq(&self, other: &DocumentUri) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DocumentUri
Auto Trait Implementations§
impl Freeze for DocumentUri
impl RefUnwindSafe for DocumentUri
impl Send for DocumentUri
impl Sync for DocumentUri
impl Unpin for DocumentUri
impl UnsafeUnpin for DocumentUri
impl UnwindSafe for DocumentUri
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