pub struct WorkspaceRoot(/* private fields */);Expand description
A directory explicitly chosen by the user (e.g. via a native file dialog).
Distinct from a bare PathBuf so a free path cannot be passed by accident.
Implementations§
Trait Implementations§
Source§impl Clone for WorkspaceRoot
impl Clone for WorkspaceRoot
Source§fn clone(&self) -> WorkspaceRoot
fn clone(&self) -> WorkspaceRoot
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 WorkspaceRoot
impl Debug for WorkspaceRoot
impl Eq for WorkspaceRoot
Source§impl Hash for WorkspaceRoot
impl Hash for WorkspaceRoot
Source§impl PartialEq for WorkspaceRoot
impl PartialEq for WorkspaceRoot
impl StructuralPartialEq for WorkspaceRoot
Auto Trait Implementations§
impl Freeze for WorkspaceRoot
impl RefUnwindSafe for WorkspaceRoot
impl Send for WorkspaceRoot
impl Sync for WorkspaceRoot
impl Unpin for WorkspaceRoot
impl UnsafeUnpin for WorkspaceRoot
impl UnwindSafe for WorkspaceRoot
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