Rc#

A reference counted value that is dropped when all users are dropped. This module provides a strong reference type Rc, as well as a weak reference type Weak.

type Rc

An opaque type of supertype ReferenceCounted.

inline __= ( selfT otherT )
inline __== ( ... )
inline __@ ( self keys... )
spice __as ( ... )
inline __call ( self ... )
inline __countof ( self )
inline __drop ( self )
spice __getattr ( ... )
inline __hash ( self )
spice __imply ( ... )
spice __methodcall ( ... )
inline __repr ( self )
spice __static-imply ( ... )
inline make-cast-op ( f const? )
inline new ( T args... )
inline wrap ( value )
type UpgradeError

A plain type of storage type (tuple ).

inline __typecall ( cls )
type Weak

An opaque type of supertype ReferenceCounted.

inline __== ( ... )
inline __drop ( self )
inline __rimply ( T cls )
fn _drop ( self )
fn force-upgrade ( self )
fn upgrade ( self )