pub struct NotebookDocumentCellChangeStructure {
pub array: NotebookCellArrayChange,
pub did_open: Option<Vec<TextDocumentItem>>,
pub did_close: Option<Vec<TextDocumentIdentifier>>,
}Expand description
Structural changes to cells in a notebook document.
@since 3.18.0
Fields§
§array: NotebookCellArrayChangeThe change to the cell array.
did_open: Option<Vec<TextDocumentItem>>Additional opened cell text documents.
did_close: Option<Vec<TextDocumentIdentifier>>Additional closed cell text documents.
Implementations§
Source§impl NotebookDocumentCellChangeStructure
impl NotebookDocumentCellChangeStructure
pub const fn new( array: NotebookCellArrayChange, did_open: Option<Vec<TextDocumentItem>>, did_close: Option<Vec<TextDocumentIdentifier>>, ) -> Self
Trait Implementations§
Source§impl Clone for NotebookDocumentCellChangeStructure
impl Clone for NotebookDocumentCellChangeStructure
Source§fn clone(&self) -> NotebookDocumentCellChangeStructure
fn clone(&self) -> NotebookDocumentCellChangeStructure
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 Default for NotebookDocumentCellChangeStructure
impl Default for NotebookDocumentCellChangeStructure
Source§fn default() -> NotebookDocumentCellChangeStructure
fn default() -> NotebookDocumentCellChangeStructure
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotebookDocumentCellChangeStructure
impl<'de> Deserialize<'de> for NotebookDocumentCellChangeStructure
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 NotebookDocumentCellChangeStructure
impl PartialEq for NotebookDocumentCellChangeStructure
Source§fn eq(&self, other: &NotebookDocumentCellChangeStructure) -> bool
fn eq(&self, other: &NotebookDocumentCellChangeStructure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NotebookDocumentCellChangeStructure
impl StructuralPartialEq for NotebookDocumentCellChangeStructure
Auto Trait Implementations§
impl Freeze for NotebookDocumentCellChangeStructure
impl RefUnwindSafe for NotebookDocumentCellChangeStructure
impl Send for NotebookDocumentCellChangeStructure
impl Sync for NotebookDocumentCellChangeStructure
impl Unpin for NotebookDocumentCellChangeStructure
impl UnsafeUnpin for NotebookDocumentCellChangeStructure
impl UnwindSafe for NotebookDocumentCellChangeStructure
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