pub struct SieveHistory(/* private fields */);Expand description
The last original this run saw per command key. Owned by whoever owns the run; one per run, never shared across runs.
Implementations§
Source§impl SieveHistory
impl SieveHistory
pub fn previous(&self, key: &CommandKey) -> Option<&Locator>
pub fn record(&mut self, key: CommandKey, original: Locator)
Trait Implementations§
Source§impl Clone for SieveHistory
impl Clone for SieveHistory
Source§impl Debug for SieveHistory
impl Debug for SieveHistory
Source§impl Default for SieveHistory
impl Default for SieveHistory
impl Eq for SieveHistory
Source§impl PartialEq for SieveHistory
impl PartialEq for SieveHistory
impl StructuralPartialEq for SieveHistory
Auto Trait Implementations§
impl Freeze for SieveHistory
impl RefUnwindSafe for SieveHistory
impl Send for SieveHistory
impl Sync for SieveHistory
impl Unpin for SieveHistory
impl UnsafeUnpin for SieveHistory
impl UnwindSafe for SieveHistory
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