Struct sixtyfps_interpreter::WeakComponentInstance [−][src]
pub struct WeakComponentInstance { /* fields omitted */ }
A Weak references to a dynamic SixtyFPS components.
Implementations
impl WeakComponentInstance
[src]
impl WeakComponentInstance
[src]pub fn upgrade(&self) -> Option<ComponentInstance>
[src]
Returns a new strongly referenced component if some other instance still holds a strong reference. Otherwise, returns None.
pub fn unwrap(&self) -> ComponentInstance
[src]
Convenience function that returns a new stronlyg referenced component if some other instance still holds a strong reference. Otherwise, this function panics.
Trait Implementations
impl Clone for WeakComponentInstance
[src]
impl Clone for WeakComponentInstance
[src]fn clone(&self) -> WeakComponentInstance
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for WeakComponentInstance
impl !RefUnwindSafe for WeakComponentInstance
impl !Send for WeakComponentInstance
impl !Send for WeakComponentInstance
impl !Sync for WeakComponentInstance
impl !Sync for WeakComponentInstance
impl Unpin for WeakComponentInstance
impl Unpin for WeakComponentInstance
impl !UnwindSafe for WeakComponentInstance
impl !UnwindSafe for WeakComponentInstance