pub struct WorkspaceId(pub u64);Expand description
A single open project/workspace root.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceId
impl Clone for WorkspaceId
Source§fn clone(&self) -> WorkspaceId
fn clone(&self) -> WorkspaceId
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 moreimpl Copy for WorkspaceId
Source§impl Debug for WorkspaceId
impl Debug for WorkspaceId
Source§impl Display for WorkspaceId
impl Display for WorkspaceId
impl Eq for WorkspaceId
Source§impl Hash for WorkspaceId
impl Hash for WorkspaceId
Source§impl Ord for WorkspaceId
impl Ord for WorkspaceId
Source§fn cmp(&self, other: &WorkspaceId) -> Ordering
fn cmp(&self, other: &WorkspaceId) -> Ordering
1.21.0 (const: unstable) · 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 WorkspaceId
impl PartialEq for WorkspaceId
Source§impl PartialOrd for WorkspaceId
impl PartialOrd for WorkspaceId
impl StructuralPartialEq for WorkspaceId
Auto Trait Implementations§
impl Freeze for WorkspaceId
impl RefUnwindSafe for WorkspaceId
impl Send for WorkspaceId
impl Sync for WorkspaceId
impl Unpin for WorkspaceId
impl UnsafeUnpin for WorkspaceId
impl UnwindSafe for WorkspaceId
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