Crate std_macro_extensions

Source
Expand description

std-macro-extensions

A collection of macro extensions for Rust’s standard library data structures, simplifying the creation and manipulation of common collections such as HashMap, Vec, and more.

Macros§

arc
Creates a new atomic reference counted pointer.
b_tree_map
Creates a new BTreeMap instance.
b_tree_set
Creates a new BTreeSet instance.
binary_heap
Creates a new BinaryHeap<T>.
boxed
Creates a new Box instance.
cell
Creates a new Cell instance.
cin
Read a line from standard input as a String.
cin_parse
Parse input string into a value or a vector of values of a specified type.
cout
Print formatted output to standard output using print!.
cout_endl
Print formatted output with a newline and flush the standard output buffer.
endl
Print a newline character and flush the standard output buffer.
execute
Execute a synchronous function with given arguments.
execute_async
Execute an asynchronous function and return a future.
hash_map
Creates a new hash map instance.
hash_set
Creates a new HashSet instance.
join_paths
Combines multiple paths into a single valid path, handling overlapping slashes.
linked_list
Creates a new LinkedList instance.
mutex
Creates a new Mutex instance.
rc
Creates a new Rc (Reference Counted) instance.
refcell
Creates a new RefCell instance.
rw_lock
Creates a new RwLock instance.
string
Creates a new string instance.
vector
Creates a new vector instance.
vector_deque
Creates a new VecDeque instance.