pub trait WeakSearchableItemHandle: WeakItemHandle {
    // Required method
    fn upgrade(&self, cx: &AppContext) -> Option<Box<dyn SearchableItemHandle>>;
}

Required Methods§

Trait Implementations§

source§

impl Hash for Box<dyn WeakSearchableItemHandle>

source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<Box<dyn WeakSearchableItemHandle, Global>> for Box<dyn WeakSearchableItemHandle>

source§

fn eq(&self, other: &Self) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Box<dyn WeakSearchableItemHandle>

Implementations on Foreign Types§

source§

impl<T: SearchableItem> WeakSearchableItemHandle for WeakView<T>

Implementors§