pub struct PackageTree { /* private fields */ }Implementations§
Source§impl PackageTree
impl PackageTree
pub const REGISTRY_NAMES: [&'static str; 4]
pub fn of(files: &[SourceFile]) -> Self
pub fn directories(&self) -> Vec<&Path>
pub fn registries_in(&self, directory: &Path) -> Vec<&Path>
pub fn expected_modules_in(&self, directory: &Path) -> Vec<String>
pub fn subdirectories_of(&self, directory: &Path) -> Vec<&Path>
pub fn files_in(&self, directory: &Path) -> Vec<&Path>
Auto Trait Implementations§
impl Freeze for PackageTree
impl RefUnwindSafe for PackageTree
impl Send for PackageTree
impl Sync for PackageTree
impl Unpin for PackageTree
impl UnsafeUnpin for PackageTree
impl UnwindSafe for PackageTree
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