pub enum BaseUri {
WorkspaceFolder(WorkspaceFolder),
Uri(Uri),
}Variants§
WorkspaceFolder(WorkspaceFolder)
Uri(Uri)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BaseUri
impl<'de> Deserialize<'de> for BaseUri
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 From<WorkspaceFolder> for BaseUri
impl From<WorkspaceFolder> for BaseUri
Source§fn from(v: WorkspaceFolder) -> Self
fn from(v: WorkspaceFolder) -> Self
Converts to this type from the input type.
impl Eq for BaseUri
impl StructuralPartialEq for BaseUri
Auto Trait Implementations§
impl Freeze for BaseUri
impl RefUnwindSafe for BaseUri
impl Send for BaseUri
impl Sync for BaseUri
impl Unpin for BaseUri
impl UnsafeUnpin for BaseUri
impl UnwindSafe for BaseUri
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