Trait IntoOptionalRc

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

Required Methods§

Implementations on Foreign Types§

Source§

impl<T> IntoOptionalRc<T> for Option<T>

Source§

impl<T: ?Sized> IntoOptionalRc<T> for Option<Rc<T>>

Source§

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

Implementors§

Source§

impl<T> IntoOptionalRc<T> for T