pub struct ModelConfig {
pub beg_size: usize,
pub end_size: usize,
pub min_file_size_for_dl: usize,
pub padding_token: i32,
pub block_size: usize,
pub thresholds: Cow<'static, [f32; 217]>,
pub overwrite_map: Cow<'static, [ContentType; 217]>,
}Fields§
§beg_size: usize§end_size: usize§min_file_size_for_dl: usize§padding_token: i32§block_size: usize§thresholds: Cow<'static, [f32; 217]>§overwrite_map: Cow<'static, [ContentType; 217]>Trait Implementations§
Source§impl Clone for ModelConfig
impl Clone for ModelConfig
Source§fn clone(&self) -> ModelConfig
fn clone(&self) -> ModelConfig
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 moreAuto Trait Implementations§
impl Freeze for ModelConfig
impl RefUnwindSafe for ModelConfig
impl Send for ModelConfig
impl Sync for ModelConfig
impl Unpin for ModelConfig
impl UnsafeUnpin for ModelConfig
impl UnwindSafe for ModelConfig
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