Function std::rc::is_uniqueExperimental [-]  [+] [src]

pub fn is_unique<T>(rc: &Rc<T>) -> bool

Returns true if the Rc currently has unique ownership.

Unique ownership means that there are no other Rc or Weak values that share the same contents.