Function swipl::blob::put_cloneable_in_term
source · pub unsafe fn put_cloneable_in_term<T: Clone + Sized + Unpin>(
term: &Term<'_>,
blob_definition: &'static PL_blob_t,
val: &T
)
Expand description
Put a Cloneable into the given term, using the given blob definition.
This is used from the clone blob macros.
Safety
This is unsafe cause no attempt is made to ensure that the blob definition matches the given data.