pub enum NotebookCellType {
Code,
Markdown,
Unknown(String),
}Expand description
Type of Jupyter notebook cell.
Variants§
Code
Code cell.
Markdown
Markdown cell.
Unknown(String)
A cell type not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for NotebookCellType
impl Clone for NotebookCellType
Source§fn clone(&self) -> NotebookCellType
fn clone(&self) -> NotebookCellType
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 moreSource§impl Debug for NotebookCellType
impl Debug for NotebookCellType
Source§impl<'de> Deserialize<'de> for NotebookCellType
impl<'de> Deserialize<'de> for NotebookCellType
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NotebookCellType
impl Display for NotebookCellType
Source§impl From<&str> for NotebookCellType
impl From<&str> for NotebookCellType
Source§impl Hash for NotebookCellType
impl Hash for NotebookCellType
Source§impl PartialEq for NotebookCellType
impl PartialEq for NotebookCellType
Source§impl Serialize for NotebookCellType
impl Serialize for NotebookCellType
impl Eq for NotebookCellType
impl StructuralPartialEq for NotebookCellType
Auto Trait Implementations§
impl Freeze for NotebookCellType
impl RefUnwindSafe for NotebookCellType
impl Send for NotebookCellType
impl Sync for NotebookCellType
impl Unpin for NotebookCellType
impl UnsafeUnpin for NotebookCellType
impl UnwindSafe for NotebookCellType
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