Trait deno_core::RcLike

source ·
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.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T: 'static> RcLike<T> for &Rc<T>

source§

impl<T: 'static> RcLike<T> for Rc<T>

Implementors§

source§

impl<T: 'static> RcLike<T> for &RcRef<T>

source§

impl<T: 'static> RcLike<T> for RcRef<T>