pub struct FileSource {
pub path: PathBuf,
}
Fields§
§path: PathBuf
Trait Implementations§
Source§impl Clone for FileSource
impl Clone for FileSource
Source§fn clone(&self) -> FileSource
fn clone(&self) -> FileSource
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 FileSource
impl Debug for FileSource
Source§impl Source for FileSource
impl Source for FileSource
fn install(&self, dependency: &Dependency, destination: &Path) -> Result<()>
fn installed(&self, dependency: &Dependency, destination: &Path) -> bool
fn update_resolver( &self, resolver: &mut Resolver, dependency: &Dependency, destination: &Path, )
Auto Trait Implementations§
impl Freeze for FileSource
impl RefUnwindSafe for FileSource
impl Send for FileSource
impl Sync for FileSource
impl Unpin for FileSource
impl UnwindSafe for FileSource
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