setUserData

Template function to help set SubmissionEntry user_data field.

nothrow @nogc ref @trusted
SubmissionEntry
setUserData
(
D
)
(
return ref SubmissionEntry entry
,
ref D data
)

Parameters

entry SubmissionEntry

SubmissionEntry to prepare

data D

data to set to the SubmissionEntry

Note: data are passed by ref and must live during whole operation.

Meta