pub struct PUCKIndexParam {
pub coarse_cluster_count: u32,
pub fine_cluster_count: u32,
}Fields§
§coarse_cluster_count: u32range [1, 5000], the number of coarse cluster centers in the index
fine_cluster_count: u32range [1, 5000], the number of fine cluster centers under each coarse cluster center
Trait Implementations§
Source§impl Clone for PUCKIndexParam
impl Clone for PUCKIndexParam
Source§fn clone(&self) -> PUCKIndexParam
fn clone(&self) -> PUCKIndexParam
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PUCKIndexParam
impl Debug for PUCKIndexParam
Source§impl<'de> Deserialize<'de> for PUCKIndexParam
impl<'de> Deserialize<'de> for PUCKIndexParam
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PUCKIndexParam
impl RefUnwindSafe for PUCKIndexParam
impl Send for PUCKIndexParam
impl Sync for PUCKIndexParam
impl Unpin for PUCKIndexParam
impl UnwindSafe for PUCKIndexParam
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