pub enum WorkspaceLeaseKind {
File,
Directory,
Crate,
IdeObject,
}Expand description
Workspace lease target kind.
Variants§
File
A single file path within a repo.
Directory
A directory subtree within a repo.
Crate
A named crate within a repo.
IdeObject
An IDE object identified by symbol, independent of any repo.
Trait Implementations§
Source§impl Clone for WorkspaceLeaseKind
impl Clone for WorkspaceLeaseKind
Source§fn clone(&self) -> WorkspaceLeaseKind
fn clone(&self) -> WorkspaceLeaseKind
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 WorkspaceLeaseKind
impl Debug for WorkspaceLeaseKind
impl Eq for WorkspaceLeaseKind
Source§impl PartialEq for WorkspaceLeaseKind
impl PartialEq for WorkspaceLeaseKind
Source§fn eq(&self, other: &WorkspaceLeaseKind) -> bool
fn eq(&self, other: &WorkspaceLeaseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WorkspaceLeaseKind
Auto Trait Implementations§
impl Freeze for WorkspaceLeaseKind
impl RefUnwindSafe for WorkspaceLeaseKind
impl Send for WorkspaceLeaseKind
impl Sync for WorkspaceLeaseKind
impl Unpin for WorkspaceLeaseKind
impl UnsafeUnpin for WorkspaceLeaseKind
impl UnwindSafe for WorkspaceLeaseKind
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