Skip to main content

retain

Function retain 

Source
pub fn retain(v: &CodeValue)
Expand description

Increment v’s refcount — needed only if you’re holding onto a CodeValue you didn’t just build yourself (e.g. a borrowed field from find_field) somewhere that will outlive the call it came from. Every retained value must be balanced by a release.