Expand description
Native vector borrow metadata and pre-conversion alias checks.
Re-exportsΒ§
use crate::gc_protect::ProtectScope;πuse crate::R_xlen_t;πuse crate::SEXP;πuse crate::SEXPTYPE;πuse crate::SexpExt;π
StructsΒ§
- Native
Borrow - The native vector storage borrowed by a conversion.
EnumsΒ§
- Borrow
Shape π
FunctionsΒ§
- assert_
no_ π» βaliases - Reject every conflicting argument pair before any Rust borrow is constructed.
- assert_
or_ π» βselect - The first pass of a generated wrapperβs alias check (#1504).
- for_
each_ π βconflict - Call
found(i, j)(i <= j) for every argument pair whose borrows alias, an argument with itself included. - message π
- The error for a conflict between arguments
iandj. - needs_
check π» - Whether any conversion pair can alias, without inspecting or allocating in R.
- visit_
leaves π β - Keep each current ALTREP/list element rooted while the other argument is visited. Protection depth follows type nesting, not the number of elements.
- visit_
nested π β visit_leavesfor a list, a tuple or anEither.