pub trait RcLike<T>: AsRef<T> + Into<RcRef<T>> { }
Expand description
The RcLike
trait provides an abstraction over std::rc::Rc
and RcRef
,
so that applicable methods can operate on either type.
pub trait RcLike<T>: AsRef<T> + Into<RcRef<T>> { }
The RcLike
trait provides an abstraction over std::rc::Rc
and RcRef
,
so that applicable methods can operate on either type.