pub struct OverlayPackageSet {
pub base: Box<dyn PackageSet>,
pub top: Box<dyn PackageSet>,
pub label: String,
}Fields§
§base: Box<dyn PackageSet>§top: Box<dyn PackageSet>§label: StringImplementations§
Source§impl OverlayPackageSet
impl OverlayPackageSet
pub fn new(base: Box<dyn PackageSet>, top: Box<dyn PackageSet>) -> Self
Trait Implementations§
Source§impl PackageSet for OverlayPackageSet
impl PackageSet for OverlayPackageSet
Source§fn get(&self, name: &str) -> Result<PackageLookup, PackageSetError>
fn get(&self, name: &str) -> Result<PackageLookup, PackageSetError>
Retrieve the derivation for a named package.
None if not present.Auto Trait Implementations§
impl !RefUnwindSafe for OverlayPackageSet
impl !UnwindSafe for OverlayPackageSet
impl Freeze for OverlayPackageSet
impl Send for OverlayPackageSet
impl Sync for OverlayPackageSet
impl Unpin for OverlayPackageSet
impl UnsafeUnpin for OverlayPackageSet
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