pub struct Config<T> {
pub max_nclasses: Option<u64>,
pub mapping_function: Option<fn(T) -> u64>,
}
Expand description
configuration for encoder (metadata)
Fields§
§max_nclasses: Option<u64>
§mapping_function: Option<fn(T) -> u64>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Config<T>
impl<T> RefUnwindSafe for Config<T>
impl<T> Send for Config<T>
impl<T> Sync for Config<T>
impl<T> Unpin for Config<T>
impl<T> UnwindSafe for Config<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