pub enum BranchOrder {
ShortestFirst(bool),
LongestFirst(bool),
}Expand description
Ordering policy for branches in visual columns.
Variants§
ShortestFirst(bool)
Recommended! Shortest branches are inserted left-most.
For branches with equal length, branches ending last are inserted first. Reverse (arg = false): Branches ending first are inserted first.
LongestFirst(bool)
Longest branches are inserted left-most.
For branches with equal length, branches ending last are inserted first. Reverse (arg = false): Branches ending first are inserted first.
Auto Trait Implementations§
impl Freeze for BranchOrder
impl RefUnwindSafe for BranchOrder
impl Send for BranchOrder
impl Sync for BranchOrder
impl Unpin for BranchOrder
impl UnwindSafe for BranchOrder
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more