pub struct ByRandom<R, K = Owned>(/* private fields */);Trait Implementations§
Source§impl<R: RngCore, K> Heuristic for ByRandom<R, K>
impl<R: RngCore, K> Heuristic for ByRandom<R, K>
type RngProvider = R
fn handle_decision<T>(
a: T::IdentifierType,
b: T::IdentifierType,
_heuristic: &mut [usize],
representative: &mut [T],
rng: &mut Self::RngProvider,
)where
T: VertexType,
Auto Trait Implementations§
impl<R, K> Freeze for ByRandom<R, K>
impl<R, K> RefUnwindSafe for ByRandom<R, K>where
R: RefUnwindSafe,
K: RefUnwindSafe,
impl<R, K> Send for ByRandom<R, K>
impl<R, K> Sync for ByRandom<R, K>
impl<R, K> Unpin for ByRandom<R, K>
impl<R, K> UnwindSafe for ByRandom<R, K>where
R: UnwindSafe,
K: 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