Expand description
This crate provides Kotlin-inspired scope functions for use in almost any situation.
Traits§
Functions§
- run
- Calls the specified
closureand returns its result. - try_run
- Calls the specified
closureand returns aResult. - try_
with - Calls the specified
closurewith the givenreceiverand returns aResult. - try_
with_ mut - Calls the specified
closurewith the given mutablereceiverand returns aResult. - with
- Calls the specified
closurewith the givenreceiverand returns its result. - with_
mut - Calls the specified
closurewith the given mutablereceiverand returns its result.