[][src]Struct kmeans::KMeansConfig

pub struct KMeansConfig<'a, T: Primitive> { /* fields omitted */ }

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

impl<'a, T: Primitive> KMeansConfig<'a, T>[src]

pub fn build() -> KMeansConfigBuilder<'a, T>[src]

Use the KMeansConfigBuilder to build a KMeansConfig instance.

Trait Implementations

impl<'a, T: Primitive> Debug for KMeansConfig<'a, T>[src]

impl<'a, T: Primitive> Default for KMeansConfig<'a, T>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,