pub struct Unit {
pub name: String,
pub role: Role,
pub lines: Vec<ListLine>,
pub footprint: Option<u64>,
}Expand description
A build unit: the whole list, or one shard list.
Fields§
§name: Stringall, cpu-prerequisites, prelude, or the shard’s name.
role: RoleRole::Cpu for the CPU prerequisites, else Role::Build.
lines: Vec<ListLine>Its build list lines, in order.
footprint: Option<u64>Inode footprint from the shard plan.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Unit
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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