pub struct GnuProfile {
pub force_one_per_line_when_not_tty: bool,
pub disable_dirs_first: bool,
pub strict_name_sort: bool,
pub disable_decorations: bool,
}Expand description
Compatibility profile applied when --gnu is set.
Fields§
§force_one_per_line_when_not_tty: boolPrefer one-per-line when not a TTY (GNU ls default).
disable_dirs_first: boolSort directories mixed with files (GNU default); disable dirs_first.
strict_name_sort: boolUse strict name sort without stripping dots for collate key.
disable_decorations: boolDisable icons and git decorations.
Implementations§
Source§impl GnuProfile
impl GnuProfile
Trait Implementations§
Source§impl Clone for GnuProfile
impl Clone for GnuProfile
Source§fn clone(&self) -> GnuProfile
fn clone(&self) -> GnuProfile
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 moreSource§impl Debug for GnuProfile
impl Debug for GnuProfile
Source§impl Default for GnuProfile
impl Default for GnuProfile
Source§fn default() -> GnuProfile
fn default() -> GnuProfile
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GnuProfile
impl RefUnwindSafe for GnuProfile
impl Send for GnuProfile
impl Sync for GnuProfile
impl Unpin for GnuProfile
impl UnsafeUnpin for GnuProfile
impl UnwindSafe for GnuProfile
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