pub unsafe fn get_cloned_from_term<T: Clone + Sized + Unpin>(
    term: &Term<'_>,
    blob_definition: &'static PL_blob_t
) -> Option<T>
Expand description

Retrieve a cloneable value from 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.