pub struct ChainedPacks { /* private fields */ }Expand description
Pack sources asked in order: a pack’s releases are the first source’s that has any, and a file is the first that has it, so a source earlier in the chain hides a pack later ones have.
use compmd_host::ChainedPacks;
let packs = ChainedPacks::new(vec![Box::new(()), Box::new(())]);Implementations§
Trait Implementations§
Source§impl Packs for ChainedPacks
impl Packs for ChainedPacks
Source§fn known(&self) -> Vec<KnownPack>
fn known(&self) -> Vec<KnownPack>
Each source’s known packs in the chain’s order, but a pack an earlier source has releases of, which hides it.
Auto Trait Implementations§
impl !RefUnwindSafe for ChainedPacks
impl !Send for ChainedPacks
impl !Sync for ChainedPacks
impl !UnwindSafe for ChainedPacks
impl Forget for ChainedPacks
impl Freeze for ChainedPacks
impl Move for ChainedPacks
impl Unpin for ChainedPacks
impl UnsafeUnpin for ChainedPacks
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more