Struct kmeans::KMeansConfig
source · pub struct KMeansConfig<'a, T: Primitive> { /* private fields */ }
Expand description
This is a structure holding various configuration options for the a k-means calculations, such as the random number generator to use, or a couple of callbacks, that can be set to get status information from a running k-means calculation.
For a more detailed information about all possible options, have a look at KMeansConfigBuilder
.
Implementations§
source§impl<'a, T: Primitive> KMeansConfig<'a, T>
impl<'a, T: Primitive> KMeansConfig<'a, T>
sourcepub fn build() -> KMeansConfigBuilder<'a, T>
pub fn build() -> KMeansConfigBuilder<'a, T>
Use the KMeansConfigBuilder
to build a KMeansConfig
instance.
Trait Implementations§
source§impl<'a, T: Primitive> Debug for KMeansConfig<'a, T>
impl<'a, T: Primitive> Debug for KMeansConfig<'a, T>
Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for KMeansConfig<'a, T>
impl<'a, T> !Send for KMeansConfig<'a, T>
impl<'a, T> !Sync for KMeansConfig<'a, T>
impl<'a, T> Unpin for KMeansConfig<'a, T>where
T: Unpin,
impl<'a, T> !UnwindSafe for KMeansConfig<'a, T>
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