Type Alias GValueTransform

Source
pub type GValueTransform = Option<unsafe extern "C" fn(src_value: *const GValue, dest_value: *mut GValue)>;
Expand description

GValueTransform: @src_value: Source value. @dest_value: Target value.

The type of value transformation functions which can be registered with g_value_register_transform_func().

@dest_value will be initialized to the correct destination type.

Aliased Type§

enum GValueTransform {
    None,
    Some(unsafe extern "C" fn(*const _GValue, *mut _GValue)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const _GValue, *mut _GValue))

Some value of type T.