Skip to main content

Module borrowed

Module borrowed 

Source
Expand description

Borrowed handles over ordinary or erased external-pointer storage.

Re-exportsยง

use super::TypedExternal; ๐Ÿ”’
use super::borrow_value; ๐Ÿ”’
use super::borrow_value_mut; ๐Ÿ”’
use crate::SEXP; ๐Ÿ”’
use core::cell::Ref; ๐Ÿ”’
use core::cell::RefCell; ๐Ÿ”’
use core::cell::RefMut; ๐Ÿ”’
use core::fmt; ๐Ÿ”’
use core::marker::PhantomData; ๐Ÿ”’
use core::ops::Deref; ๐Ÿ”’
use core::ops::DerefMut; ๐Ÿ”’

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.

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.

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.