Trait enso_prelude::StrongRef[][src]

pub trait StrongRef: CloneRef {
    type WeakRef: WeakRef<StrongRef = Self>;
    fn downgrade(&self) -> Self::WeakRef;
}
Expand description

Abstraction for a strong reference like Rc or newtypes over it.

Associated Types

Downgraded reference type.

Required methods

Creates a new weak reference of this allocation.

Implementors