Skip to main content

needs_check

Function needs_check 

Source
#[doc(hidden)]
pub fn needs_check(borrows: &[Option<NativeBorrow>]) -> bool
Expand description

Whether any conversion pair can alias, without inspecting or allocating in R.

Generated worker wrappers use this before entering R unwind protection so owned/custom conversions and shared-only signatures need no extra boundary.