LilvSetPortValueFunc

Type Alias LilvSetPortValueFunc 

Source
pub type LilvSetPortValueFunc = Option<unsafe extern "C" fn(port_symbol: *const c_char, user_data: *mut c_void, value: *const c_void, size: u32, type_: u32)>;
Expand description

Function to set a port value. @param port_symbol The symbol of the port. @param user_data The user_data passed to lilv_state_restore(). @param size The size of value. @param type The URID of the type of value. @param value A pointer to the port value.

Aliased Type§

pub enum LilvSetPortValueFunc {
    None,
    Some(unsafe extern "C" fn(*const u8, *mut c_void, *const c_void, u32, u32)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const u8, *mut c_void, *const c_void, u32, u32))

Some value of type T.