pub enum NotebookEditMode {
Replace,
Insert,
Delete,
Unknown(String),
}Expand description
Type of edit to perform on a notebook cell.
Variants§
Replace
Replace the cell’s content.
Insert
Insert a new cell.
Delete
Delete the cell.
Unknown(String)
An edit mode not yet known to this version of the crate.
Implementations§
Trait Implementations§
Source§impl Clone for NotebookEditMode
impl Clone for NotebookEditMode
Source§fn clone(&self) -> NotebookEditMode
fn clone(&self) -> NotebookEditMode
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 NotebookEditMode
impl Debug for NotebookEditMode
Source§impl<'de> Deserialize<'de> for NotebookEditMode
impl<'de> Deserialize<'de> for NotebookEditMode
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 NotebookEditMode
impl Display for NotebookEditMode
Source§impl From<&str> for NotebookEditMode
impl From<&str> for NotebookEditMode
Source§impl Hash for NotebookEditMode
impl Hash for NotebookEditMode
Source§impl PartialEq for NotebookEditMode
impl PartialEq for NotebookEditMode
Source§impl Serialize for NotebookEditMode
impl Serialize for NotebookEditMode
impl Eq for NotebookEditMode
impl StructuralPartialEq for NotebookEditMode
Auto Trait Implementations§
impl Freeze for NotebookEditMode
impl RefUnwindSafe for NotebookEditMode
impl Send for NotebookEditMode
impl Sync for NotebookEditMode
impl Unpin for NotebookEditMode
impl UnsafeUnpin for NotebookEditMode
impl UnwindSafe for NotebookEditMode
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