abin 0.1.6

A library for working with binaries and strings. The library tries to avoid heap-allocations / memory-copy whenever possible by automatically choosing a reasonable strategy: stack for small binaries; static-lifetime-binary or reference-counting.
Documentation
1
2
3
4
5
/// Converts the borrowed value of `Boo` to owned. See `Boo::into_owned_with` for details.
pub trait BooToOwned<TBorrowed: ?Sized, TOwned> {
    /// Converts the borrowed value of `Boo` to owned.
    fn convert_to_owned(borrowed: &TBorrowed) -> TOwned;
}