tap

Module prelude

Source
Expand description

Reëxports all traits in one place, for easy import.

Traits§

  • Wraps Into::<T>::into as a method that can be placed in pipelines.
  • Provides universal suffix-position call syntax for any function.
  • Point-free value inspection and modification.
  • Fallible tapping, conditional on the optional success of an expression.
  • Optional tapping, conditional on the optional presence of a value.
  • Wraps TryInto::<T>::try_into as a method that can be placed in pipelines.