pub struct AbbsSourcePackage(/* private fields */);Implementations§
Source§impl AbbsSourcePackage
impl AbbsSourcePackage
Sourcepub fn join<P: AsRef<Path>>(&self, path: P) -> PathBuf
pub fn join<P: AsRef<Path>>(&self, path: P) -> PathBuf
Creates an owned PathBuf with path adjoined to self.
Sourcepub fn section(&self) -> SectionName
pub fn section(&self) -> SectionName
Returns the section of package.
Sourcepub fn subpackages(&self) -> AbbsResult<Vec<AbbsSubPackage>>
pub fn subpackages(&self) -> AbbsResult<Vec<AbbsSubPackage>>
Returns a list of subpackages of this package.
Sourcepub fn subpackage<S: AsRef<str>>(&self, dir: S) -> Option<AbbsSubPackage>
pub fn subpackage<S: AsRef<str>>(&self, dir: S) -> Option<AbbsSubPackage>
Returns a certain subpackage of this package.
Trait Implementations§
Source§impl AsRef<Path> for AbbsSourcePackage
impl AsRef<Path> for AbbsSourcePackage
Source§impl Clone for AbbsSourcePackage
impl Clone for AbbsSourcePackage
Source§fn clone(&self) -> AbbsSourcePackage
fn clone(&self) -> AbbsSourcePackage
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 AbbsSourcePackage
impl Debug for AbbsSourcePackage
Source§impl PartialEq for AbbsSourcePackage
impl PartialEq for AbbsSourcePackage
Source§impl PartialOrd for AbbsSourcePackage
impl PartialOrd for AbbsSourcePackage
impl Eq for AbbsSourcePackage
Auto Trait Implementations§
impl Freeze for AbbsSourcePackage
impl RefUnwindSafe for AbbsSourcePackage
impl Send for AbbsSourcePackage
impl Sync for AbbsSourcePackage
impl Unpin for AbbsSourcePackage
impl UnwindSafe for AbbsSourcePackage
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