Trait RcLike
Other items indeno_core
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.
RcLike
std::rc::Rc
RcRef
impl<T: 'static> RcLike<T> for Rc<T>
impl<T: 'static> RcLike<T> for &Rc<T>
impl<T: 'static> RcLike<T> for &RcRef<T>
impl<T: 'static> RcLike<T> for RcRef<T>