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 moreSource§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
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 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
Source§impl TryFrom<u32> for NotebookCellKind
impl TryFrom<u32> for NotebookCellKind
impl Copy for NotebookCellKind
impl Eq 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