alloc
1.82.0
(f6e511eec 2024-10-15)
Module borrow
Enums
Traits
In crate alloc
Module
alloc
::
borrow
Copy item path
1.0.0
·
source
·
[
−
]
Expand description
A module for working with borrowed data.
Enums
§
Cow
A clone-on-write smart pointer.
Traits
§
Borrow
A trait for borrowing data.
Borrow
Mut
A trait for mutably borrowing data.
ToOwned
A generalization of
Clone
to borrowed data.