pub struct ArrowUndoBatch {
pub ops: Vec<ArrowOp>,
}Fields§
§ops: Vec<ArrowOp>Implementations§
Source§impl ArrowUndoBatch
impl ArrowUndoBatch
pub fn is_empty(&self) -> bool
pub fn record_delta_cell( &mut self, sheet_id: SheetId, row0: u32, col0: u32, old: Option<LiteralValue>, new: Option<LiteralValue>, )
pub fn record_computed_cell( &mut self, sheet_id: SheetId, row0: u32, col0: u32, old: Option<LiteralValue>, new: Option<LiteralValue>, )
pub fn record_restore_computed_rect( &mut self, sheet_id: SheetId, sr0: u32, sc0: u32, er0: u32, ec0: u32, old: Vec<Vec<LiteralValue>>, new: Vec<Vec<LiteralValue>>, )
pub fn record_insert_rows( &mut self, sheet_id: SheetId, before0: u32, count: u32, )
pub fn record_insert_cols( &mut self, sheet_id: SheetId, before0: u32, count: u32, )
Trait Implementations§
Source§impl Clone for ArrowUndoBatch
impl Clone for ArrowUndoBatch
Source§fn clone(&self) -> ArrowUndoBatch
fn clone(&self) -> ArrowUndoBatch
Returns a duplicate 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 ArrowUndoBatch
impl Debug for ArrowUndoBatch
Source§impl Default for ArrowUndoBatch
impl Default for ArrowUndoBatch
Source§fn default() -> ArrowUndoBatch
fn default() -> ArrowUndoBatch
Returns the “default value” for a type. Read more
Source§impl PartialEq for ArrowUndoBatch
impl PartialEq for ArrowUndoBatch
impl StructuralPartialEq for ArrowUndoBatch
Auto Trait Implementations§
impl Freeze for ArrowUndoBatch
impl RefUnwindSafe for ArrowUndoBatch
impl Send for ArrowUndoBatch
impl Sync for ArrowUndoBatch
impl Unpin for ArrowUndoBatch
impl UnsafeUnpin for ArrowUndoBatch
impl UnwindSafe for ArrowUndoBatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more