Trait TakeRc

Source
pub trait TakeRc<T: ?Sized> {
    // Required method
    fn take_rc(self) -> Rc<T>;
}

Required Methods§

Source

fn take_rc(self) -> Rc<T>

Implementations on Foreign Types§

Source§

impl<T: ?Sized> TakeRc<T> for Rc<T>

Source§

fn take_rc(self) -> Rc<T>

Implementors§

Source§

impl<T: ?Sized, R: IntoRc<T>, F: FnOnce() -> R> TakeRc<T> for F