Struct qmc::util::bondcontainer::BondContainer [−][src]
Expand description
A HashSet with random sampling.
Implementations
Return sum of all weights in BondContainer.
Get the weight of the value if it’s in the container.
Insert an element. Returns true if the element is new.
Trait Implementations
Returns the “default value” for a type. Read more
impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for FastOpsTemplate<O, ALLOC>
impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for FastOpsTemplate<O, ALLOC>
Get an instance of T
Return an instance of T
Get an instance of T
Return an instance of T
impl<ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for SwitchableFastOpAllocator<ALLOC>
impl<ALLOC: FastOpAllocator> Factory<BondContainer<VarPos>> for SwitchableFastOpAllocator<ALLOC>
Get an instance of T
Return an instance of T
impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for FastOpsTemplate<O, ALLOC>
impl<O: Op + Clone, ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for FastOpsTemplate<O, ALLOC>
Get an instance of T
Return an instance of T
Get an instance of T
Return an instance of T
impl<ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for SwitchableFastOpAllocator<ALLOC>
impl<ALLOC: FastOpAllocator> Factory<BondContainer<usize>> for SwitchableFastOpAllocator<ALLOC>
Get an instance of T
Return an instance of T
Auto Trait Implementations
impl<T> RefUnwindSafe for BondContainer<T> where
T: RefUnwindSafe,
impl<T> Send for BondContainer<T> where
T: Send,
impl<T> Sync for BondContainer<T> where
T: Sync,
impl<T> Unpin for BondContainer<T> where
T: Unpin,
impl<T> UnwindSafe for BondContainer<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V