Struct objc_id::WeakId[][src]

pub struct WeakId<T> { /* fields omitted */ }

A pointer type for a weak reference to an Objective-C reference counted object.

Methods

impl<T> WeakId<T> where
    T: Message
[src]

Construct a new WeakId referencing the given ShareId.

Load a ShareId from the WeakId if the object still exists. Returns None if the object has been deallocated.

Trait Implementations

impl<T> Sync for WeakId<T> where
    T: Sync
[src]

impl<T> Send for WeakId<T> where
    T: Sync
[src]