pub struct SegmentationConfig {
pub max_segment_tokens: usize,
pub context_tokens: usize,
}Fields§
§max_segment_tokens: usize§context_tokens: usizeTrait Implementations§
Source§impl Clone for SegmentationConfig
impl Clone for SegmentationConfig
Source§fn clone(&self) -> SegmentationConfig
fn clone(&self) -> SegmentationConfig
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 moreSource§impl Debug for SegmentationConfig
impl Debug for SegmentationConfig
Auto Trait Implementations§
impl Freeze for SegmentationConfig
impl RefUnwindSafe for SegmentationConfig
impl Send for SegmentationConfig
impl Sync for SegmentationConfig
impl Unpin for SegmentationConfig
impl UnsafeUnpin for SegmentationConfig
impl UnwindSafe for SegmentationConfig
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