Struct qcell::QCell[][src]

pub struct QCell<T: ?Sized> { /* fields omitted */ }
Expand description

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.

Implementations

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

Borrow contents of this cell immutably (read-only). Many QCell instances can be borrowed immutably at the same time from the same owner.

Borrow contents of this cell mutably (read-write). Only one QCell at a time can be borrowed from the owner using this call. The returned reference must go out of scope before another can be borrowed. To mutably borrow from two or three cells at the same time, see QCellOwner::rw2 or QCellOwner::rw3.

Trait Implementations

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.