MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / get_int_field

Method get_int_field

bindings/java/src/main/rust/lib.rs:36–38  ·  view source on GitHub ↗
(&mut self, obj: &JObject, name: &str)

Source from the content-addressed store, hash-verified

34 }
35
36 fn get_int_field(&mut self, obj: &JObject, name: &str) -> JNIResult<i32> {
37 self.get_field(obj, name, "I")?.i()
38 }
39
40 fn get_string_field_opt(&mut self, cfg: &JObject, name: &str) -> JNIResult<Option<String>> {
41 let value = self.get_field(cfg, name, "Ljava/lang/String;")?.l()?;

Callers 1

build_inlinerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected