pub struct LaneTaskSpec {
pub lane: u32,
pub waits: Vec<(u32, u32)>,
}Expand description
One task of a lane-partitioned kernel.
Fields§
§lane: u32Lane whose thread executes the task.
waits: Vec<(u32, u32)>(lane, completed task count) pairs that must hold before the task
starts.
Trait Implementations§
Source§impl Clone for LaneTaskSpec
impl Clone for LaneTaskSpec
Source§impl Debug for LaneTaskSpec
impl Debug for LaneTaskSpec
Source§impl<'de> Deserialize<'de> for LaneTaskSpec
impl<'de> Deserialize<'de> for LaneTaskSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LaneTaskSpec
Source§impl PartialEq for LaneTaskSpec
impl PartialEq for LaneTaskSpec
Source§impl Serialize for LaneTaskSpec
impl Serialize for LaneTaskSpec
impl StructuralPartialEq for LaneTaskSpec
Auto Trait Implementations§
impl Freeze for LaneTaskSpec
impl RefUnwindSafe for LaneTaskSpec
impl Send for LaneTaskSpec
impl Sync for LaneTaskSpec
impl Unpin for LaneTaskSpec
impl UnsafeUnpin for LaneTaskSpec
impl UnwindSafe for LaneTaskSpec
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