"Fossies" - the Fresh Open Source Software Archive

Member "fd-8.1.1/src/filetypes.rs" (25 May 2020, 535 Bytes) of package /linux/privat/fd-8.1.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Rust source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /// Whether or not to show
    2 pub struct FileTypes {
    3     pub files: bool,
    4     pub directories: bool,
    5     pub symlinks: bool,
    6     pub sockets: bool,
    7     pub pipes: bool,
    8     pub executables_only: bool,
    9     pub empty_only: bool,
   10 }
   11 
   12 impl Default for FileTypes {
   13     fn default() -> FileTypes {
   14         FileTypes {
   15             files: false,
   16             directories: false,
   17             symlinks: false,
   18             sockets: false,
   19             pipes: false,
   20             executables_only: false,
   21             empty_only: false,
   22         }
   23     }
   24 }