mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
RCPool.Elem
mecca
containers
pools
RCPool
Undocumented in source.
struct
RCPool
(T)
struct
Elem {
static if
(
__traits(hasMember, T, "_poolElementAlignment")
)
enum
_poolElementAlignment
;
void
[
T
.
sizeof
]
data
;
ulong
rc
;
this(this)
;
T
*
value
[@property getter];
void
_poolElementInit
();
void
_poolElementFini
();
static
Elem
*
fromValue
(T* obj);
}
Postblit
this(this)
this(this)
Undocumented in source.
Members
Functions
_poolElementFini
void
_poolElementFini
()
Undocumented in source. Be warned that the author may not have intended to support it.
_poolElementInit
void
_poolElementInit
()
Undocumented in source. Be warned that the author may not have intended to support it.
Manifest constants
_poolElementAlignment
enum
_poolElementAlignment
;
Undocumented in source.
Properties
value
T
*
value
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Static functions
fromValue
Elem
*
fromValue
(T* obj)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
data
void
[
T
.
sizeof
]
data
;
Undocumented in source.
rc
ulong
rc
;
Undocumented in source.
Meta
Source
See Implementation
mecca
containers
pools
RCPool
functions
alloc
close
decref
getref
incref
open
properties
capacity
closed
numAvailable
numInUse
structs
Elem