pub enum EitherOrBoth {
Both(PathBuf, PathBuf),
Left(PathBuf),
Right(PathBuf),
}Variants§
Trait Implementations§
Source§impl Debug for EitherOrBoth
impl Debug for EitherOrBoth
Source§impl Ord for EitherOrBoth
impl Ord for EitherOrBoth
Source§fn cmp(&self, other: &EitherOrBoth) -> Ordering
fn cmp(&self, other: &EitherOrBoth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EitherOrBoth
impl PartialEq for EitherOrBoth
Source§impl PartialOrd for EitherOrBoth
impl PartialOrd for EitherOrBoth
impl Eq for EitherOrBoth
impl StructuralPartialEq for EitherOrBoth
Auto Trait Implementations§
impl Freeze for EitherOrBoth
impl RefUnwindSafe for EitherOrBoth
impl Send for EitherOrBoth
impl Sync for EitherOrBoth
impl Unpin for EitherOrBoth
impl UnwindSafe for EitherOrBoth
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