[−][src]Crate libsugar
libsugar provides syntactic sugar in the form of a library
Features
default = ["std", "combin", "named-into", "macro-lit", "side-effect", "re-exports", "chain_panic", "chain_todo", "tuple_iter", "tuple_utils"]
"std"Enable std"side-effect"Enable mod side_effect"named-into"Enable mod named_into"combin"Enable mod combin"macro-lit"Enable macro like new, list"chain_panic"Enable mod chain_panic"chain_todo"Enable mod chain_todo"tuples"Enable mod tuples"once_get"Enable mod once_get"re-exports"Enable re-export of all mods
Re-exports
pub use side_effect::*; |
pub use named_into::*; |
pub use combin::*; |
pub use chain_panic::*; |
pub use chain_todo::*; |
pub use crate::tuples::*; |
pub use crate::once_get::*; |
pub use chain_drop::*; |
Modules
| chain_drop | Chain Drop |
| chain_panic | Chain Panic |
| chain_todo | Chain Todo |
| combin | No nesting combine |
| named_into | Use chained calls to avoid nesting |
| once_get | Get Once |
| side_effect | Some extension functions that are convenient for side effects |
| tuples | Re-exports from tuples |
Macros
| arr | new a |
| bop | batch opers |
| btmap | new a |
| btset | new a |
| deque | new a |
| heap | new a |
| list | new a |
| map | new a |
| map_append | append items to a map |
| new | new a |
| set | new a |
| using | using |