[−][src]Enum petgraph::visit::Control
Control flow for callbacks.
Break can carry a value.
Variants
Implementations
impl<B> Control<B>[src]
pub fn breaking() -> Control<()>[src]
pub fn break_value(self) -> Option<B>[src]
Get the value in Control::Break(_), if present.
Trait Implementations
impl<B: Clone> Clone for Control<B>[src]
impl<B> ControlFlow for Control<B>[src]
fn continuing() -> Self[src]
fn should_break(&self) -> bool[src]
impl<B: Copy> Copy for Control<B>[src]
impl<B: Debug> Debug for Control<B>[src]
impl<B> Default for Control<B>[src]
The default is Continue.
Auto Trait Implementations
impl<B> RefUnwindSafe for Control<B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<B> Send for Control<B> where
B: Send,
B: Send,
impl<B> Sync for Control<B> where
B: Sync,
B: Sync,
impl<B> Unpin for Control<B> where
B: Unpin,
B: Unpin,
impl<B> UnwindSafe for Control<B> where
B: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,