pub enum CandidateId {
Session(String),
Window {
session: String,
index: u32,
},
Directory(PathBuf),
Worktree(PathBuf),
Project(String),
}Variants§
Trait Implementations§
Source§impl Clone for CandidateId
impl Clone for CandidateId
Source§fn clone(&self) -> CandidateId
fn clone(&self) -> CandidateId
Returns a duplicate of the value. Read more
1.0.0 · 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 CandidateId
impl Debug for CandidateId
Source§impl Hash for CandidateId
impl Hash for CandidateId
Source§impl Ord for CandidateId
impl Ord for CandidateId
Source§fn cmp(&self, other: &CandidateId) -> Ordering
fn cmp(&self, other: &CandidateId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CandidateId
impl PartialEq for CandidateId
Source§impl PartialOrd for CandidateId
impl PartialOrd for CandidateId
impl Eq for CandidateId
impl StructuralPartialEq for CandidateId
Auto Trait Implementations§
impl Freeze for CandidateId
impl RefUnwindSafe for CandidateId
impl Send for CandidateId
impl Sync for CandidateId
impl Unpin for CandidateId
impl UnsafeUnpin for CandidateId
impl UnwindSafe for CandidateId
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