pub struct Cell {
pub id: CellId,
pub source: String,
pub output: CellOutput,
pub dependencies: HashSet<String>,
pub definitions: HashSet<String>,
pub dirty: bool,
pub execution_order: u64,
}Expand description
A single notebook cell with source code and execution state.
Fields§
§id: CellIdUnique identifier
source: StringSource code
output: CellOutputLast execution output
dependencies: HashSet<String>Variables this cell depends on
definitions: HashSet<String>Variables this cell defines
dirty: boolWhether cell needs re-execution
execution_order: u64Cell execution order (0 = not executed)
Implementations§
Trait 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 UnsafeUnpin 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