pub struct PackageSections { /* private fields */ }Implementations§
Source§impl PackageSections
impl PackageSections
pub fn new(sections: BTreeMap<String, PackageConfig>) -> Self
pub fn load(directory: &Path) -> Result<Self>
pub fn of(&self, name: &str) -> Option<&PackageConfig>
pub fn skipped_anywhere(&self) -> Vec<String>
pub fn is_empty(&self) -> bool
pub fn validate(&self, packages: &[ScannedPackage]) -> Result<()>
Auto Trait Implementations§
impl Freeze for PackageSections
impl RefUnwindSafe for PackageSections
impl Send for PackageSections
impl Sync for PackageSections
impl Unpin for PackageSections
impl UnsafeUnpin for PackageSections
impl UnwindSafe for PackageSections
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