Enum git2::TreeWalkMode
source · [−]pub enum TreeWalkMode {
PreOrder,
PostOrder,
}
Expand description
A binary indicator of whether a tree walk should be performed in pre-order or post-order.
Variants
PreOrder
Runs the traversal in pre order.
PostOrder
Runs the traversal in post order.
Trait Implementations
sourceimpl Into<u32> for TreeWalkMode
impl Into<u32> for TreeWalkMode
sourcefn into(self) -> git_treewalk_mode
fn into(self) -> git_treewalk_mode
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TreeWalkMode
impl Send for TreeWalkMode
impl Sync for TreeWalkMode
impl Unpin for TreeWalkMode
impl UnwindSafe for TreeWalkMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more