Enum SamplerChoice
pub enum SamplerChoice {
Tpe,
Random,
}Expand description
Variants§
Tpe
The in-house TPE sampler (the spike’s default).
Random
Uniform random sampling — the baseline TPE is measured against.
Trait Implementations§
§impl Clone for SamplerChoice
impl Clone for SamplerChoice
§fn clone(&self) -> SamplerChoice
fn clone(&self) -> SamplerChoice
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SamplerChoice
§impl Debug for SamplerChoice
impl Debug for SamplerChoice
§impl Default for SamplerChoice
impl Default for SamplerChoice
§fn default() -> SamplerChoice
fn default() -> SamplerChoice
Returns the “default value” for a type. Read more
impl Eq for SamplerChoice
§impl PartialEq for SamplerChoice
impl PartialEq for SamplerChoice
impl StructuralPartialEq for SamplerChoice
Auto Trait Implementations§
impl Freeze for SamplerChoice
impl RefUnwindSafe for SamplerChoice
impl Send for SamplerChoice
impl Sync for SamplerChoice
impl Unpin for SamplerChoice
impl UnsafeUnpin for SamplerChoice
impl UnwindSafe for SamplerChoice
Blanket Implementations§
impl<T> Boilerplate for T
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