pub struct NotebookCell {
pub name: String,
pub cell_type: CellType,
pub markdown: Option<String>,
pub source: Option<String>,
pub has_dependencies: bool,
}Expand description
A cell extracted from the notebook.
Fields§
§name: StringCell name (function name)
cell_type: CellTypeCell type
markdown: Option<String>Markdown content (for markdown cells or doc comments)
source: Option<String>Rust source code (for code cells)
has_dependencies: boolWhether this cell has dependencies
Trait Implementations§
Source§impl Clone for NotebookCell
impl Clone for NotebookCell
Source§fn clone(&self) -> NotebookCell
fn clone(&self) -> NotebookCell
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 NotebookCell
impl RefUnwindSafe for NotebookCell
impl Send for NotebookCell
impl Sync for NotebookCell
impl Unpin for NotebookCell
impl UnwindSafe for NotebookCell
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