Struct rustc_ap_rustc_data_structures::undo_log::NoUndo [−][src]
pub struct NoUndo;
Trait Implementations
impl<T> UndoLogs<T> for NoUndo
[src]
impl<T> UndoLogs<T> for NoUndo
[src]pub fn num_open_snapshots(&self) -> usize
[src]
pub fn num_open_snapshots(&self) -> usize
[src]How many open snapshots this undo log currently has
pub fn push(&mut self, _undo: T)
[src]
pub fn push(&mut self, _undo: T)
[src]Pushes a new “undo item” onto the undo log. This method is invoked when some action is taken (e.g., a variable is unified). It records the info needed to reverse that action should an enclosing snapshot be rolleod back. Read more
fn in_snapshot(&self) -> bool
[src]
fn in_snapshot(&self) -> bool
[src]True if a snapshot has started, false otherwise
fn extend<I>(&mut self, undos: I) where
I: IntoIterator<Item = T>,
[src]
fn extend<I>(&mut self, undos: I) where
I: IntoIterator<Item = T>,
[src]Extends the undo log with many undos.
Auto Trait Implementations
impl RefUnwindSafe for NoUndo
impl Send for NoUndo
impl Sync for NoUndo
impl Unpin for NoUndo
impl UnwindSafe for NoUndo
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<'a, T> Captures<'a> for T where
T: ?Sized,
[src]
T: ?Sized,