Skip to main content

Module borrow

Module borrow 

Source
Expand description

Native vector borrow metadata and pre-conversion alias checks.

Structsยง

NativeBorrow
The native vector storage borrowed by a conversion.

Enumsยง

BorrowShape ๐Ÿ”’

Functionsยง

assert_no_aliases ๐Ÿ‘ป โš 
Reject every conflicting argument pair before any Rust borrow is constructed.
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.