pub struct LaneAssignmentInput<'a> {
pub costs: &'a [u64],
pub predecessors: &'a [Vec<usize>],
pub groups: &'a [usize],
pub group_lanes: &'a [Option<u32>],
}Expand description
Inputs describing one lane assignment problem.
Fields§
§costs: &'a [u64]Estimated execution cost of each item.
predecessors: &'a [Vec<usize>]Dependencies of each item. Every predecessor precedes the item.
groups: &'a [usize]Ownership group of each item. Items in one group share a lane.
group_lanes: &'a [Option<u32>]Lane fixed in advance for each group, if any.
Trait Implementations§
Source§impl<'a> Clone for LaneAssignmentInput<'a>
impl<'a> Clone for LaneAssignmentInput<'a>
impl<'a> Copy for LaneAssignmentInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for LaneAssignmentInput<'a>
impl<'a> RefUnwindSafe for LaneAssignmentInput<'a>
impl<'a> Send for LaneAssignmentInput<'a>
impl<'a> Sync for LaneAssignmentInput<'a>
impl<'a> Unpin for LaneAssignmentInput<'a>
impl<'a> UnsafeUnpin for LaneAssignmentInput<'a>
impl<'a> UnwindSafe for LaneAssignmentInput<'a>
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