Searched refs:rust_object (Results 1 – 1 of 1) sorted by relevance
39 rust_object: *mut T, field78 pub fn new(rust_object: T) -> Binder<T> { in new()79 Self::new_with_stability(rust_object, Stability::default()) in new()86 pub fn new_with_stability(rust_object: T, stability: Stability) -> Binder<T> { in new_with_stability()88 let rust_object = Box::into_raw(Box::new(rust_object)); in new_with_stability() localVariable95 let ibinder = unsafe { sys::AIBinder_new(class.into(), rust_object as *mut c_void) }; in new_with_stability()96 let mut binder = Binder { ibinder, rust_object }; in new_with_stability()414 unsafe { &*self.rust_object } in deref()445 Ok(Binder { ibinder: ibinder.as_native_mut(), rust_object: userdata as *mut B }) in try_from()