pub struct CodeChunk {
pub line_range: Range<usize>,
pub header: Option<String>,
pub entities: Vec<CodeEntity>,
}Fields§
§line_range: Range<usize>§header: Option<String>description of the chunk it’s a short string to describe the chunk content
entities: Vec<CodeEntity>entities in the chunk
Trait Implementations§
impl StructuralPartialEq for CodeChunk
Auto Trait Implementations§
impl Freeze for CodeChunk
impl RefUnwindSafe for CodeChunk
impl Send for CodeChunk
impl Sync for CodeChunk
impl Unpin for CodeChunk
impl UnwindSafe for CodeChunk
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)