pub enum VisitBreak {
Stop,
}Expand description
Controls early termination of the entire traversal.
Variants§
Stop
Halt immediately; no further visits or exits.
Trait Implementations§
Source§impl Clone for VisitBreak
impl Clone for VisitBreak
Source§fn clone(&self) -> VisitBreak
fn clone(&self) -> VisitBreak
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 moreSource§impl Debug for VisitBreak
impl Debug for VisitBreak
Source§impl PartialEq for VisitBreak
impl PartialEq for VisitBreak
Source§fn eq(&self, other: &VisitBreak) -> bool
fn eq(&self, other: &VisitBreak) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for VisitBreak
impl Eq for VisitBreak
impl StructuralPartialEq for VisitBreak
Auto Trait Implementations§
impl Freeze for VisitBreak
impl RefUnwindSafe for VisitBreak
impl Send for VisitBreak
impl Sync for VisitBreak
impl Unpin for VisitBreak
impl UnsafeUnpin for VisitBreak
impl UnwindSafe for VisitBreak
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