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 wrappers use this to skip the alias check for owned/custom conversions and shared-only signatures.