pub struct NotebookDocumentCellContentChanges {
pub document: VersionedTextDocumentIdentifier,
pub changes: Vec<TextDocumentContentChangeEvent>,
}Expand description
Content changes to a cell in a notebook document.
@since 3.18.0
Fields§
§document: VersionedTextDocumentIdentifier§changes: Vec<TextDocumentContentChangeEvent>Implementations§
Source§impl NotebookDocumentCellContentChanges
impl NotebookDocumentCellContentChanges
pub const fn new( document: VersionedTextDocumentIdentifier, changes: Vec<TextDocumentContentChangeEvent>, ) -> Self
Trait Implementations§
Source§impl Clone for NotebookDocumentCellContentChanges
impl Clone for NotebookDocumentCellContentChanges
Source§fn clone(&self) -> NotebookDocumentCellContentChanges
fn clone(&self) -> NotebookDocumentCellContentChanges
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<'de> Deserialize<'de> for NotebookDocumentCellContentChanges
impl<'de> Deserialize<'de> for NotebookDocumentCellContentChanges
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 NotebookDocumentCellContentChanges
impl PartialEq for NotebookDocumentCellContentChanges
Source§fn eq(&self, other: &NotebookDocumentCellContentChanges) -> bool
fn eq(&self, other: &NotebookDocumentCellContentChanges) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for NotebookDocumentCellContentChanges
impl StructuralPartialEq for NotebookDocumentCellContentChanges
Auto Trait Implementations§
impl Freeze for NotebookDocumentCellContentChanges
impl RefUnwindSafe for NotebookDocumentCellContentChanges
impl Send for NotebookDocumentCellContentChanges
impl Sync for NotebookDocumentCellContentChanges
impl Unpin for NotebookDocumentCellContentChanges
impl UnsafeUnpin for NotebookDocumentCellContentChanges
impl UnwindSafe for NotebookDocumentCellContentChanges
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