pub struct ScopedCandidate {
pub global_rank: usize,
pub candidate: NextWorkCandidate,
}Expand description
A candidate within scope, carrying its position in the unfiltered ranking.
Fields§
§global_rank: usizeOne-based rank among all eligible work in the workspace, before scope filtering.
candidate: NextWorkCandidateRanking computed on the full graph.
Trait Implementations§
Source§impl Clone for ScopedCandidate
impl Clone for ScopedCandidate
Source§impl Debug for ScopedCandidate
impl Debug for ScopedCandidate
Source§impl<'de> Deserialize<'de> for ScopedCandidate
impl<'de> Deserialize<'de> for ScopedCandidate
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
Auto Trait Implementations§
impl Freeze for ScopedCandidate
impl RefUnwindSafe for ScopedCandidate
impl Send for ScopedCandidate
impl Sync for ScopedCandidate
impl Unpin for ScopedCandidate
impl UnsafeUnpin for ScopedCandidate
impl UnwindSafe for ScopedCandidate
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