[][src]Struct polyhorn_core::Weak

pub struct Weak<P: ?Sized> where
    P: Platform
{ /* fields omitted */ }

This is a weak reference to an instance that can be converted into a link at request.

Implementations

impl<P: ?Sized> Weak<P> where
    P: Platform
[src]

pub fn new(instance: &Rc<Instance<P>>) -> Weak<P>[src]

Trait Implementations

impl<P: ?Sized> Clone for Weak<P> where
    P: Platform
[src]

Auto Trait Implementations

impl<P> !RefUnwindSafe for Weak<P>

impl<P> !Send for Weak<P>

impl<P> !Sync for Weak<P>

impl<P: ?Sized> Unpin for Weak<P>

impl<P> !UnwindSafe for Weak<P>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.