pub struct Candidate<S>where
S: ModifiableState,{
parent: usize,
op: S::Operation,
score: S::Score,
hash: S::Hash,
accept: bool,
}Fields§
§parent: usize§op: S::Operation§score: S::Score§hash: S::Hash§accept: boolTrait Implementations§
Source§impl<S> Clone for Candidate<S>where
S: ModifiableState,
impl<S> Clone for Candidate<S>where
S: ModifiableState,
Auto Trait Implementations§
impl<S> Freeze for Candidate<S>where
<S as ModifiableState>::Operation: Freeze,
<S as ModifiableState>::Score: Freeze,
<S as ModifiableState>::Hash: Freeze,
impl<S> RefUnwindSafe for Candidate<S>where
<S as ModifiableState>::Operation: RefUnwindSafe,
<S as ModifiableState>::Score: RefUnwindSafe,
<S as ModifiableState>::Hash: RefUnwindSafe,
impl<S> Send for Candidate<S>where
<S as ModifiableState>::Operation: Send,
<S as ModifiableState>::Score: Send,
<S as ModifiableState>::Hash: Send,
impl<S> Sync for Candidate<S>where
<S as ModifiableState>::Operation: Sync,
<S as ModifiableState>::Score: Sync,
<S as ModifiableState>::Hash: Sync,
impl<S> Unpin for Candidate<S>where
<S as ModifiableState>::Operation: Unpin,
<S as ModifiableState>::Score: Unpin,
<S as ModifiableState>::Hash: Unpin,
impl<S> UnwindSafe for Candidate<S>where
<S as ModifiableState>::Operation: UnwindSafe,
<S as ModifiableState>::Score: UnwindSafe,
<S as ModifiableState>::Hash: UnwindSafe,
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