pub struct UndoneMemory {
pub memory_id: String,
pub text: String,
pub scope: String,
pub kind: String,
}Expand description
QoL: returned by undo_last_memory — the memory that was just invalidated.
Fields§
§memory_id: String§text: String§scope: String§kind: StringTrait Implementations§
Source§impl Clone for UndoneMemory
impl Clone for UndoneMemory
Source§fn clone(&self) -> UndoneMemory
fn clone(&self) -> UndoneMemory
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 moreAuto Trait Implementations§
impl Freeze for UndoneMemory
impl RefUnwindSafe for UndoneMemory
impl Send for UndoneMemory
impl Sync for UndoneMemory
impl Unpin for UndoneMemory
impl UnsafeUnpin for UndoneMemory
impl UnwindSafe for UndoneMemory
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