Skip to main content

AsdfExtensionSerialize

Type Alias AsdfExtensionSerialize 

Source
pub type AsdfExtensionSerialize = Option<unsafe extern "C" fn(file: *mut AsdfFile, obj: *const c_void, userdata: *const c_void) -> *mut AsdfValue>;
Expand description

Serialize a native object into a value.

Aliased Type§

pub enum AsdfExtensionSerialize {
    None,
    Some(unsafe extern "C" fn(*mut AsdfFile, *const c_void, *const c_void) -> *mut AsdfValue),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut AsdfFile, *const c_void, *const c_void) -> *mut AsdfValue)

Some value of type T.