Enum nabo_pbc::CandidateContainer
source · [−]pub enum CandidateContainer {
Linear,
BinaryHeap,
}
Expand description
The type of container to keep candidates
Variants
Linear
use a linear vector to keep candidates, good for small k
BinaryHeap
use a binary heap to keep candidates, good for large k
Trait Implementations
sourceimpl Clone for CandidateContainer
impl Clone for CandidateContainer
sourcefn clone(&self) -> CandidateContainer
fn clone(&self) -> CandidateContainer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for CandidateContainer
Auto Trait Implementations
impl RefUnwindSafe for CandidateContainer
impl Send for CandidateContainer
impl Sync for CandidateContainer
impl Unpin for CandidateContainer
impl UnwindSafe for CandidateContainer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more