pub enum NotebookCellKind {
Markup,
Code,
}Expand description
A notebook cell kind.
@since 3.17.0
Variants§
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 Hash for NotebookCellKind
impl Hash for NotebookCellKind
Source§impl PartialEq for NotebookCellKind
impl PartialEq for NotebookCellKind
Source§fn eq(&self, other: &NotebookCellKind) -> bool
fn eq(&self, other: &NotebookCellKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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