Skip to main content

retain

Function retain 

Source
pub fn retain(h: u64)
Expand description

+1 reference. A null (0) or already-stale handle is silently a no-op: retain/release are only ever called by codegen on a handle a variable/field/collection element already holds, and a null handle holds nothing to retain.