pub struct Cell {
pub fragment: u32,
pub index: u32,
pub contents: String,
}Expand description
A cell represent a notebook cell in VS Code
§Terms
- fragment: unique id of the cell that executed
- index: current index by order in VS Code
- contents: the source code from inside the cell used to determine what output to return to caller
Fields§
§fragment: u32§index: u32§contents: StringTrait Implementations§
Auto Trait Implementations§
impl Freeze for Cell
impl RefUnwindSafe for Cell
impl Send for Cell
impl Sync for Cell
impl Unpin for Cell
impl UnwindSafe for Cell
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