pub struct Chunk {
pub subtree: String,
pub range: Range,
pub size: usize,
}Expand description
A chunk of code with a subtree and a range.
Fields§
§subtree: StringSubtree representation of the code chunk.
range: RangeRange of the code chunk.
size: usizeSize of the code chunk.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Chunk
impl RefUnwindSafe for Chunk
impl Send for Chunk
impl Sync for Chunk
impl Unpin for Chunk
impl UnwindSafe for Chunk
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more