Crate libsugar

Source
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"]

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 Box<[T]>
bop
batch opers
btmap
new a BTreeMap<K, V>
btset
new a BTreeSet<V>
deque
new a VecDeque<T>
heap
new a BinaryHeap<V>
list
new a LinkedList<T>
map
new a HashMap<K, V>
map_append
append items to a map
new
new a Box<T>
set
new a HashSet<V>
using
using