pub unsafe trait WeakWell: Well {
type Strong: StrongWell + Deref<Target = Self::Target>;
// Required methods
fn access(&self) -> Option<Self::Strong>;
fn weaken(access: &Self::Strong) -> Self;
}Expand description
Required Associated Types§
Sourcetype Strong: StrongWell + Deref<Target = Self::Target>
type Strong: StrongWell + Deref<Target = Self::Target>
Smart pointer that can directly access data.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.