Enum lsp_types::NotebookCellKind
source · #[repr(u8)]pub enum NotebookCellKind {
Markup = 1,
Code = 2,
}
Variants§
Markup = 1
A markup-cell is formatted source that is used for display.
Code = 2
A code-cell is source code.
Trait Implementations§
source§impl Clone for NotebookCellKind
impl Clone for NotebookCellKind
source§fn clone(&self) -> NotebookCellKind
fn clone(&self) -> NotebookCellKind
Returns a copy 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 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 PartialEq for NotebookCellKind
impl PartialEq for NotebookCellKind
source§fn eq(&self, other: &NotebookCellKind) -> bool
fn eq(&self, other: &NotebookCellKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotebookCellKind
impl Serialize 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 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