pub struct Dependencies { /* private fields */ }
Implementations§
Source§impl Dependencies
impl Dependencies
pub fn new() -> Self
pub fn add_dependency(&mut self, relative_path: PathBuf)
pub fn visit_dependencies<F: FnMut(&Path)>(&self, callback: &mut F)
Trait Implementations§
Source§impl Clone for Dependencies
impl Clone for Dependencies
Source§fn clone(&self) -> Dependencies
fn clone(&self) -> Dependencies
Returns a copy 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 Dependencies
impl Debug for Dependencies
Source§impl Default for Dependencies
impl Default for Dependencies
Source§fn default() -> Dependencies
fn default() -> Dependencies
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Dependencies
impl RefUnwindSafe for Dependencies
impl Send for Dependencies
impl Sync for Dependencies
impl Unpin for Dependencies
impl UnwindSafe for Dependencies
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