Type Alias Ref

Source
pub type Ref<T> = Rc<T>;
Expand description

Represents the type alias for a service reference.

Aliased Type§

pub struct Ref<T> { /* private fields */ }

Trait Implementations§

Source§

impl<TKey, TSvc: Any + ?Sized> From<KeyedRef<TKey, TSvc>> for Ref<TSvc>

Source§

fn from(value: KeyedRef<TKey, TSvc>) -> Self

Converts to this type from the input type.