Function kernel::sync::new_refcount
source · [−]pub const fn new_refcount() -> refcount_struct
Expand description
Creates, from a const context, a new instance of struct refcount_struct
with a refcount of 1.
pub const fn new_refcount() -> refcount_struct
Creates, from a const context, a new instance of struct refcount_struct
with a refcount of 1.