pub struct Field<'env: 'borrow, 'borrow, T> where
T: Signature, { /* private fields */ }
Implementations
sourceimpl<'env: 'borrow, 'borrow, T> Field<'env, 'borrow, T> where
T: Signature + TryIntoJavaValue<'env> + TryFromJavaValue<'env, 'borrow>,
<T as TryFromJavaValue<'env, 'borrow>>::Source: TryFrom<JValueWrapper<'env>, Error = JniError>,
JValue<'env>: From<<T as TryIntoJavaValue<'env>>::Target>,
impl<'env: 'borrow, 'borrow, T> Field<'env, 'borrow, T> where
T: Signature + TryIntoJavaValue<'env> + TryFromJavaValue<'env, 'borrow>,
<T as TryFromJavaValue<'env, 'borrow>>::Source: TryFrom<JValueWrapper<'env>, Error = JniError>,
JValue<'env>: From<<T as TryIntoJavaValue<'env>>::Target>,
sourceimpl<'env: 'borrow, 'borrow, T> Field<'env, 'borrow, T> where
T: Signature + IntoJavaValue<'env> + FromJavaValue<'env, 'borrow>,
<T as FromJavaValue<'env, 'borrow>>::Source: TryFrom<JValueWrapper<'env>, Error = JniError>,
JValue<'env>: From<<T as IntoJavaValue<'env>>::Target>,
impl<'env: 'borrow, 'borrow, T> Field<'env, 'borrow, T> where
T: Signature + IntoJavaValue<'env> + FromJavaValue<'env, 'borrow>,
<T as FromJavaValue<'env, 'borrow>>::Source: TryFrom<JValueWrapper<'env>, Error = JniError>,
JValue<'env>: From<<T as IntoJavaValue<'env>>::Target>,
pub fn set_unchecked(&mut self, value: T)
pub fn get_unchecked(&self) -> T
pub fn field_from(
source: JObject<'env>,
classpath_path: &str,
field_name: &str,
env: &'borrow JNIEnv<'env>
) -> Self
Trait Implementations
Auto Trait Implementations
impl<'env, 'borrow, T> RefUnwindSafe for Field<'env, 'borrow, T> where
T: RefUnwindSafe,
impl<'env, 'borrow, T> !Send for Field<'env, 'borrow, T>
impl<'env, 'borrow, T> !Sync for Field<'env, 'borrow, T>
impl<'env, 'borrow, T> Unpin for Field<'env, 'borrow, T> where
T: Unpin,
'env: 'borrow,
impl<'env, 'borrow, T> UnwindSafe for Field<'env, 'borrow, T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more