#[repr(C)]pub struct DocumentTextEdit {
pub node: DomNodeId,
pub text: AzString,
pub revision: u64,
}Expand description
One un-synced character-level edit: node’s effective text is now
text (revision-stamped). The app folds it into its model and acks the
highest revision it saw via CallbackInfo::mark_text_revision_synced —
the character-path counterpart of the structural DocumentEdit loop.
Fields§
§node: DomNodeId§text: AzString§revision: u64Trait Implementations§
Source§impl Clone for DocumentTextEdit
impl Clone for DocumentTextEdit
Source§fn clone(&self) -> DocumentTextEdit
fn clone(&self) -> DocumentTextEdit
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 Debug for DocumentTextEdit
impl Debug for DocumentTextEdit
impl Eq for DocumentTextEdit
Source§impl FromIterator<DocumentTextEdit> for DocumentTextEditVec
impl FromIterator<DocumentTextEdit> for DocumentTextEditVec
Source§fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = DocumentTextEdit>,
fn from_iter<T>(iter: T) -> Selfwhere
T: IntoIterator<Item = DocumentTextEdit>,
Creates a value from an iterator. Read more
Source§impl Hash for DocumentTextEdit
impl Hash for DocumentTextEdit
Source§impl Ord for DocumentTextEdit
impl Ord for DocumentTextEdit
Source§fn cmp(&self, other: &DocumentTextEdit) -> Ordering
fn cmp(&self, other: &DocumentTextEdit) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DocumentTextEdit
impl PartialEq for DocumentTextEdit
Source§impl PartialOrd for DocumentTextEdit
impl PartialOrd for DocumentTextEdit
impl StructuralPartialEq for DocumentTextEdit
Auto Trait Implementations§
impl Freeze for DocumentTextEdit
impl RefUnwindSafe for DocumentTextEdit
impl Send for DocumentTextEdit
impl Sync for DocumentTextEdit
impl Unpin for DocumentTextEdit
impl UnsafeUnpin for DocumentTextEdit
impl UnwindSafe for DocumentTextEdit
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