pub enum PackageShorthand {
Off,
On,
Tiny,
}Expand description
Controls how the package manager summary is displayed in the output.
- Off: Only show the total package count.
- On: Show a list of package managers and their counts.
- Tiny: Show only the count and a compact list of manager names.
Variants§
Trait Implementations§
Source§impl Clone for PackageShorthand
impl Clone for PackageShorthand
Source§fn clone(&self) -> PackageShorthand
fn clone(&self) -> PackageShorthand
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 moreimpl Copy for PackageShorthand
Source§impl Debug for PackageShorthand
impl Debug for PackageShorthand
Source§impl FromStr for PackageShorthand
impl FromStr for PackageShorthand
Source§impl PartialEq for PackageShorthand
impl PartialEq for PackageShorthand
Source§fn eq(&self, other: &PackageShorthand) -> bool
fn eq(&self, other: &PackageShorthand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PackageShorthand
Auto Trait Implementations§
impl Freeze for PackageShorthand
impl RefUnwindSafe for PackageShorthand
impl Send for PackageShorthand
impl Sync for PackageShorthand
impl Unpin for PackageShorthand
impl UnsafeUnpin for PackageShorthand
impl UnwindSafe for PackageShorthand
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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