pub fn instance_with_field<'a>(v: Value, i: usize) -> Option<&'a InstanceObj>Expand description
The instance behind v if it is an instance with a field i (of any class), else None.
Reading the field is then memory-safe; whether it is the expected class’s field is up to the
caller.