Struct kernel::sync::RefBorrow[][src]

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

A borrowed Ref with manually-managed lifetime.

Invariants

There are no mutable references to the underlying Ref, and it remains valid for the lifetime of the RefBorrow instance.

Methods from Deref<Target = Ref<T>>

Trait Implementations

The resulting type after dereferencing.

Dereferences the value.

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.