WeakResourceHost
enum · ferroui-base · v0.5.0
enum WeakResourceHost
A weak reference to a resource host.
Members
Element
Element(crate::WeakRef<crate::StyledElement>)
Other
Other(std::rc::Weak<dyn IResourceHost>)
upgrade
fn upgrade(self: &Self) -> Option<ResourceHostRef>
Returns a strong reference if the host is still alive.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherClone
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.