1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#![cfg_attr(not(test), no_std)]
#![feature(try_reserve)]
#![feature(specialization)]
#![feature(allocator_api)]
#![feature(dropck_eyepatch)]
#![feature(ptr_internals)]
#![feature(core_intrinsics)]
#![feature(maybe_uninit_ref)]
#![feature(maybe_uninit_slice)]
#![feature(maybe_uninit_extra)]
#![feature(internal_uninit_const)]
extern crate alloc;
pub mod boxed;
pub use boxed::*;
#[macro_use]
pub mod vec;
pub use vec::*;
pub mod rc;
pub use rc::*;
pub mod arc;
pub use arc::*;
pub mod btree;
#[macro_use]
pub mod format;
pub mod try_clone;
use alloc::collections::TryReserveError;
pub trait TryClone {
fn try_clone(&self) -> Result<Self, TryReserveError>
where
Self: core::marker::Sized;
}