Module collections::borrow [] [src]

A module for working with borrowed data.

Reexports

use core::prelude::v1::*;
use core::clone::Clone;
use core::cmp::{Eq, Ord, Ordering, PartialEq, PartialOrd};
use core::convert::AsRef;
use core::hash::{Hash, Hasher};
use core::marker::Sized;
use core::ops::Deref;
use core::option::Option;
use fmt;
use self::Cow::*;

Enums

Cow

A clone-on-write smart pointer.

Traits

Borrow

A trait for borrowing data.

BorrowMut

A trait for mutably borrowing data.

ToOwned

A generalization of Clone to borrowed data.

IntoCow [Deprecated]

Trait for moving into a Cow.