pub unsafe trait WrappedArcBlob: WrappedArcBlobImpl {
    // Required method
    fn get_blob_definition() -> &'static PL_blob_t;
}
Expand description

A blob type whose data is shared with SWI-Prolog as an atomic reference-counted pointer, and which is wrapped into a wrapper type.

Safety

This is unsafe because care has to be taken that the returned PL_blob_t from get_blob_definition actually matches the blob type.

Required Methods§

source

fn get_blob_definition() -> &'static PL_blob_t

Return a blob definition for this WrappedArcBlob.

Object Safety§

This trait is not object safe.

Implementors§