[][src]Function lilv_sys::lilv_world_get

pub unsafe extern "C" fn lilv_world_get(
    world: *mut LilvWorld,
    subject: *const LilvNode,
    predicate: *const LilvNode,
    object: *const LilvNode
) -> *mut LilvNode

Find a single node that matches a pattern. Exactly one of subject, predicate, object must be NULL. This function is equivalent to lilv_nodes_get_first(lilv_world_find_nodes(...)) but simplifies the common case of only wanting a single value. @return the first matching node, or NULL if no matches are found.