pub struct RecursiveChunkerBuilder<'sep> { /* private fields */ }
Expand description
Builder for RecursiveChunker
.
Implementations§
Source§impl<'sep> RecursiveChunkerBuilder<'sep>
impl<'sep> RecursiveChunkerBuilder<'sep>
Sourcepub fn chunk_size<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
pub fn chunk_size<VALUE: Into<u32>>(&mut self, value: VALUE) -> &mut Self
How large each chunk should be.
pub fn separators<VALUE: Into<Vec<&'sep str>>>( &mut self, value: VALUE, ) -> &mut Self
Trait Implementations§
Source§impl<'sep> Clone for RecursiveChunkerBuilder<'sep>
impl<'sep> Clone for RecursiveChunkerBuilder<'sep>
Source§fn clone(&self) -> RecursiveChunkerBuilder<'sep>
fn clone(&self) -> RecursiveChunkerBuilder<'sep>
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 moreAuto Trait Implementations§
impl<'sep> Freeze for RecursiveChunkerBuilder<'sep>
impl<'sep> RefUnwindSafe for RecursiveChunkerBuilder<'sep>
impl<'sep> Send for RecursiveChunkerBuilder<'sep>
impl<'sep> Sync for RecursiveChunkerBuilder<'sep>
impl<'sep> Unpin for RecursiveChunkerBuilder<'sep>
impl<'sep> UnwindSafe for RecursiveChunkerBuilder<'sep>
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