pub trait Downgrade{
type Weak;
// Required method
fn downgrade(&self) -> Self::Weak;
}
Expand description
Trait for generalizing downgrading a strong reference to a weak reference.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.