pub struct RcMut<T> { priv ptr: *mut RcMutBox<T>, }
Mutable reference counted pointer type
impl<T: std::kinds::Send> RcMut<T>
fn from_send(value: T) -> RcMut<T>
impl<T: std::kinds::Freeze> RcMut<T>
fn from_freeze(value: T) -> RcMut<T>
impl<T> RcMut<T>
fn with_borrow<U>(&self, f: &fn(&T) -> U) -> U
Fails if there is already a mutable borrow of the box
fn with_mut_borrow<U>(&self, f: &fn(&mut T) -> U) -> U
Fails if there is already a mutable or immutable borrow of the box
impl<T> std::ops::Drop for RcMut<T>
fn drop(&mut self)
impl<T> std::clone::Clone for RcMut<T>
fn clone(&self) -> RcMut<T>
Return a shallow copy of the reference counted pointer.
impl<T: std::clone::DeepClone> std::clone::DeepClone for RcMut<T>
fn deep_clone(&self) -> RcMut<T>
Return a deep copy of the reference counted pointer.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).