hunt-extra v1.1.7 (2021-11-17T07:07:29Z)
Home
Dub
Repo
CloneMemberTemplate
hunt
util
ObjectUtils
static if
(
CompilerHelper.isGreaterThan(2086)
)
mixin template
CloneMemberTemplate (
T
TopLevel
topLevel
=
TopLevel
.
no
alias
onCloned
= null
) {
import
std
.
traits
;
;
import
hunt
.
logging
.
ConsoleLogger
;
;
alias
baseClasses
=
BaseClassesTuple
!
T
;
static if
(
baseClasses.length == 1 && is(baseClasses[0] == Object) || topLevel == TopLevel.yes
)
T
clone
();
static if
(!(
baseClasses.length == 1 && is(baseClasses[0] == Object) || topLevel == TopLevel.yes
))
T
clone
();
}
Members
Aliases
baseClasses
alias
baseClasses
=
BaseClassesTuple
!
T
Undocumented in source.
Functions
clone
T
clone
()
Undocumented in source. Be warned that the author may not have intended to support it.
clone
T
clone
()
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
hunt
util
ObjectUtils
aliases
TopLevel
classes
EventObject
ObjectUtils
functions
getAllFieldValues
isInstanceOf
mappingObject
mappingToObject
setProperty
mixin templates
CloneMemberTemplate
GetConstantValues
ValuesMemberTempate
variables
FixedObjectMembers