pub trait Downgradewhere
Self: Sized,{
type Weak;
// Required method
fn downgrade(&self) -> Self::Weak;
}
Expand description
Trait for generalizing downgrading a strong reference to a weak reference.
pub trait Downgradewhere
Self: Sized,{
type Weak;
// Required method
fn downgrade(&self) -> Self::Weak;
}
Trait for generalizing downgrading a strong reference to a weak reference.