Skip to main content

Module borrowed

Module borrowed 

Source
Expand description

Borrowed handles over ordinary or erased external-pointer storage.

Modules§

sealed 🔒

Structs§

ExternalPtrMut
An exclusive borrow of a Rust value together with its R object.
ExternalPtrRef
A shared borrow of a Rust value together with its R object.
Saved
What a save of a T kept, handed to the type’s rebuild hook (#[externalptr(rebuild = path)]) when a pointer restored from a saved session is first used.

Enums§

Exclusive 🔒
Where an exclusive view gets its value, like Shared.
Shared 🔒
Where a shared view gets its value: the RefCell borrow it holds, or a view it was reborrowed from.
SidecarRead 👻
What a SidecarOwner gives the generated getters.

Traits§

SidecarOwner
A handle that reaches a concrete value together with its R object, for the sidecar accessors.
SidecarOwnerMut
A handle accepted by generated sidecar setters: an ExternalPtr, which borrows its value exclusively for the write, or an ExternalPtrMut.