pub struct ClearResult {
pub removed_ids: Vec<BlockId>,
pub deleted_content: DeletedContent,
}Expand description
Result of a section clear operation with undo support
Fields§
§removed_ids: Vec<BlockId>IDs of blocks that were removed
deleted_content: DeletedContentThe deleted content for potential restoration
Trait Implementations§
Source§impl Clone for ClearResult
impl Clone for ClearResult
Source§fn clone(&self) -> ClearResult
fn clone(&self) -> ClearResult
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 moreAuto Trait Implementations§
impl Freeze for ClearResult
impl RefUnwindSafe for ClearResult
impl Send for ClearResult
impl Sync for ClearResult
impl Unpin for ClearResult
impl UnwindSafe for ClearResult
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