Module quicli::prelude

source ·
Expand description

Prelude – import all of this

To get up-and-running real fast, do use quicli::prelude::*. It’s just like use std::io::prelude::* but with less I/O and more C/L/I!

(If you don’t like glob imports, feel free to import the items 1-by-1. You will sadly miss out on a bunch of derive macros, though.)

Re-exports

pub use crate::fs::*;

Structs

Easily add a --verbose flag to CLIs using Structopt

Traits

FromParallelIterator implements the creation of a collection from a ParallelIterator. By implementing FromParallelIterator for a given type, you define how it will be created from an iterator.
An iterator that supports “random access” to its data, meaning that you can split it at arbitrary indices and draw data from those points.
IntoParallelIterator implements the conversion to a ParallelIterator.
IntoParallelRefIterator implements the conversion to a ParallelIterator, providing shared references to the data.
IntoParallelRefMutIterator implements the conversion to a ParallelIterator, providing mutable references to the data.
Conversion trait to convert an Iterator to a ParallelIterator.
ParallelDrainFull creates a parallel iterator that moves all items from a collection while retaining the original capacity.
ParallelDrainRange creates a parallel iterator that moves a range of items from a collection while retaining the original capacity.
ParallelExtend extends an existing collection with items from a ParallelIterator.
Parallel version of the standard iterator trait.
Parallel extensions for slices.
Parallel extensions for mutable slices.
Parallel extensions for strings.

Type Definitions

A handy alias for Result that carries a generic error type.