pub struct UpstreamPaths { /* private fields */ }Implementations§
Source§impl UpstreamPaths
impl UpstreamPaths
pub fn from_repo_root(repo_root: impl Into<PathBuf>) -> Self
pub fn from_workspace_dir(workspace_dir: impl AsRef<Path>) -> Self
pub fn commands_path(&self) -> PathBuf
pub fn tools_path(&self) -> PathBuf
pub fn cli_path(&self) -> PathBuf
Trait Implementations§
Source§impl Clone for UpstreamPaths
impl Clone for UpstreamPaths
Source§fn clone(&self) -> UpstreamPaths
fn clone(&self) -> UpstreamPaths
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 UpstreamPaths
impl Debug for UpstreamPaths
Source§impl PartialEq for UpstreamPaths
impl PartialEq for UpstreamPaths
impl Eq for UpstreamPaths
impl StructuralPartialEq for UpstreamPaths
Auto Trait Implementations§
impl Freeze for UpstreamPaths
impl RefUnwindSafe for UpstreamPaths
impl Send for UpstreamPaths
impl Sync for UpstreamPaths
impl Unpin for UpstreamPaths
impl UnsafeUnpin for UpstreamPaths
impl UnwindSafe for UpstreamPaths
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