pub struct RegisteredWorkspace {
pub record: WorkspaceRecord,
/* private fields */
}Expand description
Validated workspace record plus native paths used by scanners.
Fields§
§record: WorkspaceRecordSerializable registry record suitable for persistence.
Implementations§
Source§impl RegisteredWorkspace
impl RegisteredWorkspace
Sourcepub fn checkout_path(&self, alias: &str) -> Option<&Path>
pub fn checkout_path(&self, alias: &str) -> Option<&Path>
Returns the canonical checkout path for a registered alias.
Trait Implementations§
Source§impl Clone for RegisteredWorkspace
impl Clone for RegisteredWorkspace
Source§fn clone(&self) -> RegisteredWorkspace
fn clone(&self) -> RegisteredWorkspace
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 moreAuto Trait Implementations§
impl Freeze for RegisteredWorkspace
impl RefUnwindSafe for RegisteredWorkspace
impl Send for RegisteredWorkspace
impl Sync for RegisteredWorkspace
impl Unpin for RegisteredWorkspace
impl UnsafeUnpin for RegisteredWorkspace
impl UnwindSafe for RegisteredWorkspace
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