Crate rs42

Crate rs42 

Source
Expand description

rs42 is a collection of utilities to make programming in Rust more enjoyable

Modules§

extensions
Trait implementations for pre-existing structs
scope_guard
Structure that wraps a value and calls a callback function when it exits scope

Macros§

const_str_to_cstr
Turns a const &str into a CStr
defer
Calls the given closure at the end of the current scope
error_enum
Facilitates the creation of error enums with debug display
error_struct
Facilitates the creation of error structures with debug display
error_struct_custom_display
Facilitates the creation of error structures with a custom display message

Type Aliases§

Result