pub struct CrateUnit {
pub edition: Edition,
pub manifest_dir: PathBuf,
pub files: Vec<PathBuf>,
pub size_bytes: u64,
}Fields§
§edition: Edition§manifest_dir: PathBuf§files: Vec<PathBuf>§size_bytes: u64Work-size proxy: sum of *.rs bytes under manifest_dir,
clamped at size::HUGE_CUTOFF_BYTES. Drives LPT bin-packing in
the coalescer and dispatch ordering in the priority queue. Only
the ratios between crates matter; a value exactly equal to the
cutoff means the crate is at-or-above the solo-dispatch threshold.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CrateUnit
impl RefUnwindSafe for CrateUnit
impl Send for CrateUnit
impl Sync for CrateUnit
impl Unpin for CrateUnit
impl UnsafeUnpin for CrateUnit
impl UnwindSafe for CrateUnit
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