pub enum NotebookCellKind {
Markup,
Code,
Custom(u32),
}Expand description
A notebook cell kind.
@since 3.17.0
Variants§
Markup
A markup-cell is formatted source that is used for display.
Code
A code-cell is source code.
Custom(u32)
A custom value.
Trait Implementations§
Source§impl Clone for NotebookCellKind
impl Clone for NotebookCellKind
Source§fn clone(&self) -> NotebookCellKind
fn clone(&self) -> NotebookCellKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NotebookCellKind
Source§impl Debug for NotebookCellKind
impl Debug for NotebookCellKind
Source§impl<'de> Deserialize<'de> for NotebookCellKind
impl<'de> Deserialize<'de> for NotebookCellKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for NotebookCellKind
Source§impl From<NotebookCellKind> for u32
impl From<NotebookCellKind> for u32
Source§fn from(e: NotebookCellKind) -> Self
fn from(e: NotebookCellKind) -> Self
Converts to this type from the input type.
Source§impl From<u32> for NotebookCellKind
impl From<u32> for NotebookCellKind
Source§impl Hash for NotebookCellKind
impl Hash for NotebookCellKind
Source§impl PartialEq for NotebookCellKind
impl PartialEq for NotebookCellKind
Source§impl Serialize for NotebookCellKind
impl Serialize for NotebookCellKind
impl StructuralPartialEq for NotebookCellKind
Auto Trait Implementations§
impl Freeze for NotebookCellKind
impl RefUnwindSafe for NotebookCellKind
impl Send for NotebookCellKind
impl Sync for NotebookCellKind
impl Unpin for NotebookCellKind
impl UnsafeUnpin for NotebookCellKind
impl UnwindSafe for NotebookCellKind
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