Function simics::api::base::conf_object::_object_descendant

source ·
fn _object_descendant<S>(
    obj: *mut ConfObject,
    relname: S,
) -> Result<Option<*mut ConfObject>>
where S: AsRef<str>,
Expand description

Retrieve an object’s descendant with a name, if one exists.

§Arguments

  • obj - The object to get descendants for
  • relname - The name of the related descendant

§Return Value

The descendant of the object with a name, if one exists

§Context

Unknown