[][src]Struct qcell::QCell

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

Cell whose contents is owned (for borrowing purposes) by a QCellOwner.

To borrow from this cell, use the borrowing calls on QCellOwner instance that was used to create it. See crate documentation.

Methods

impl<T> QCell<T>[src]

pub const fn new(owner: &QCellOwner, value: T) -> QCell<T>[src]

Create a new QCell owned for borrowing purposes by the given QCellOwner

Auto Trait Implementations

impl<T> !Sync for QCell<T>

impl<T> Send for QCell<T> where
    T: Send

impl<T> Unpin for QCell<T> where
    T: Unpin

impl<T> !RefUnwindSafe for QCell<T>

impl<T> UnwindSafe for QCell<T> where
    T: UnwindSafe

Blanket Implementations

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

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

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.

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

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

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