Struct space::CandidatesVec [−][src]
pub struct CandidatesVec { /* fields omitted */ }
Implementations
Pushes a new neighbor to the candidate list.
Returns if it was added.
Pop the worst candidate list.
This removes it from the candidates.
Peek at the best candidate.
This does not remove the candidate.
Sets the cap to cap
. Resizes if necessary, removing the bottom elements.
Fill a slice with the best elements and return the part of the slice written.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for CandidatesVec
impl Send for CandidatesVec
impl Sync for CandidatesVec
impl Unpin for CandidatesVec
impl UnwindSafe for CandidatesVec
Blanket Implementations
Mutably borrows from an owned value. Read more