Struct lsp_types::NotebookCellArrayChange
source · pub struct NotebookCellArrayChange {
pub start: u32,
pub delete_count: u32,
pub cells: Option<Vec<NotebookCell>>,
}
Expand description
A change describing how to move a NotebookCell
array from state S to S’.
@since 3.17.0
Fields§
§start: u32
The start offset of the cell that changed.
delete_count: u32
The deleted cells
cells: Option<Vec<NotebookCell>>
The new cells, if any
Trait Implementations§
source§impl Clone for NotebookCellArrayChange
impl Clone for NotebookCellArrayChange
source§fn clone(&self) -> NotebookCellArrayChange
fn clone(&self) -> NotebookCellArrayChange
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 NotebookCellArrayChange
impl Debug for NotebookCellArrayChange
source§impl<'de> Deserialize<'de> for NotebookCellArrayChange
impl<'de> Deserialize<'de> for NotebookCellArrayChange
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 NotebookCellArrayChange
impl PartialEq for NotebookCellArrayChange
source§fn eq(&self, other: &NotebookCellArrayChange) -> bool
fn eq(&self, other: &NotebookCellArrayChange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NotebookCellArrayChange
impl Serialize for NotebookCellArrayChange
impl Eq for NotebookCellArrayChange
impl StructuralPartialEq for NotebookCellArrayChange
Auto Trait Implementations§
impl Freeze for NotebookCellArrayChange
impl !RefUnwindSafe for NotebookCellArrayChange
impl Send for NotebookCellArrayChange
impl Sync for NotebookCellArrayChange
impl Unpin for NotebookCellArrayChange
impl UnwindSafe for NotebookCellArrayChange
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