pub struct SimMember {
pub workload: Workload,
pub role: MemberRole,
pub ordinal: usize,
}Expand description
Fields§
§workload: WorkloadThe scheduler-native workload (carries ResourceRequirements).
role: MemberRoleRole within the cell.
ordinal: usizeOrdinal within the role (world is always 0; agents are 0..n).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimMember
impl RefUnwindSafe for SimMember
impl Send for SimMember
impl Sync for SimMember
impl Unpin for SimMember
impl UnsafeUnpin for SimMember
impl UnwindSafe for SimMember
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