aztec-nr - std::mem

Function vector_refcount

pub fn vector_refcount<T>(vector: [T]) -> u32

Returns the internal reference count of a vector value in unconstrained code.

Lists only have reference count in unconstrained code - using this anywhere else will return zero.