osom_lib_arc/std.rs
1//! This module defines the std aliases.
2use osom_lib_alloc::std_allocator::StdAllocator;
3
4use crate::carc::{CArc, CWeak};
5use crate::carc_array::{CArcArray, CArcArrayBuilder, CWeakArray};
6
7/// The alias for [`CArc`] with [`StdAllocator`].
8pub type StdCArc<T> = CArc<T, StdAllocator>;
9
10/// The alias for [`CWeak`] with [`StdAllocator`].
11pub type StdCWeak<T> = CWeak<T, StdAllocator>;
12
13/// The alias for [`CArcArrayBuilder`] with [`StdAllocator`].
14pub type StdCArcArrayBuilder<T> = CArcArrayBuilder<T, StdAllocator>;
15
16/// The alias for [`CArcArray`] with [`StdAllocator`].
17pub type StdCArcArray<T> = CArcArray<T, StdAllocator>;
18
19/// The alias for [`CWeakArray`] with [`StdAllocator`].
20pub type StdCWeakArray<T> = CWeakArray<T, StdAllocator>;