Skip to main content

Module prelude

Module prelude 

Source

Re-exports§

pub use crate::tools::Bytes;
pub use crate::tools::Chars;
pub use crate::tools::FastInput;
pub use crate::tools::FastIterPrint;
pub use crate::tools::FastOutput;
pub use crate::tools::FastPrint;
pub use crate::tools::IterPrint;
pub use crate::tools::Scan;
pub use crate::tools::ScanSource;
pub use crate::tools::Scanner;
pub use crate::tools::Usize1;
pub use crate::tools::read_all_unchecked;

Macros§

iter_print
Print expressions with a separator.
prepare_io
Prepare sc!, sv!, pp!, and dg! with fast I/O for the supplied reader and writer. prepare_io!(buffered; reader, writer) reads incrementally for large numeric inputs. Every read must satisfy FastInput’s token requirements.
scan
scan and bind values with Scanner

Traits§

Read
The Read trait allows for reading bytes from a source.
Write
A trait for objects which are byte-oriented sinks.