Function swipl::blob::unify_with_cloneable
source · pub unsafe fn unify_with_cloneable<T: Clone + Sized + Unpin>(
term: &Term<'_>,
blob_definition: &'static PL_blob_t,
val: &T
) -> bool
Expand description
Unify the term with the given Cloneable, using the given blob definition to do so.
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.