pub struct SemanticChunk {
pub lines: Vec<String>,
pub kind: ChunkKind,
pub relevance: f64,
pub start_line: usize,
pub identifier: Option<String>,
}Fields§
§lines: Vec<String>§kind: ChunkKind§relevance: f64§start_line: usize§identifier: Option<String>Trait Implementations§
Source§impl Clone for SemanticChunk
impl Clone for SemanticChunk
Source§fn clone(&self) -> SemanticChunk
fn clone(&self) -> SemanticChunk
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 Freeze for SemanticChunk
impl RefUnwindSafe for SemanticChunk
impl Send for SemanticChunk
impl Sync for SemanticChunk
impl Unpin for SemanticChunk
impl UnsafeUnpin for SemanticChunk
impl UnwindSafe for SemanticChunk
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