Expand description
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", "tuples", "once_get", "chain_drop"]
"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"chain_drop"
Enable mod chain_drop"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