pub struct LockTransaction {
pub transaction: Transaction,
pub all: Vec<usize>,
pub non_dev: Vec<usize>,
pub dev: Vec<usize>,
pub present: Vec<usize>,
}Expand description
Composer\DependencyResolver\LockTransaction.
Fields§
§transaction: Transaction§all: Vec<usize>resultPackages['all'|'non-dev'|'dev'] (arena indices).
non_dev: Vec<usize>§dev: Vec<usize>§present: Vec<usize>presentMap (arena indices, lock order then fixed packages).
Implementations§
Source§impl LockTransaction
impl LockTransaction
pub fn empty() -> LockTransaction
pub fn new( pool: &Pool, arena: &[Package], request: &Request, decisions: &Decisions, ) -> LockTransaction
Sourcepub fn set_non_dev_packages(
&mut self,
arena: &[Package],
extraction: &LockTransaction,
)
pub fn set_non_dev_packages( &mut self, arena: &[Package], extraction: &LockTransaction, )
setNonDevPackages($extractionResult).
Auto Trait Implementations§
impl Freeze for LockTransaction
impl RefUnwindSafe for LockTransaction
impl Send for LockTransaction
impl Sync for LockTransaction
impl Unpin for LockTransaction
impl UnsafeUnpin for LockTransaction
impl UnwindSafe for LockTransaction
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