Struct jni::objects::JClass [−][src]
Lifetime'd representation of a jclass
. Just a JObject
wrapped in a new
class.
Methods from Deref<Target = JObject<'a>>
Trait Implementations
impl<'a> Clone for JClass<'a>
[src]
impl<'a> Copy for JClass<'a>
[src]
impl<'a> Debug for JClass<'a>
[src]
impl<'a> Deref for JClass<'a>
[src]
type Target = JObject<'a>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<'a, T> Desc<'a, JClass<'a>> for T where
T: Into<JNIString>,
[src]
T: Into<JNIString>,
impl<'a, 'b> Desc<'a, JClass<'a>> for JObject<'b>
[src]
impl<'a, 'b> Desc<'a, JClass<'b>> for &'b GlobalRef
[src]
This conversion assumes that the GlobalRef
is a pointer to a class object.
impl<'a, 'b, 'c> Desc<'a, JClass<'b>> for &'b AutoLocal<'c, '_> where
'c: 'b,
[src]
'c: 'b,
This conversion assumes that the AutoLocal
is a pointer to a class object.
impl<'a> From<*mut _jobject> for JClass<'a>
[src]
impl<'a> From<JClass<'a>> for JObject<'a>
[src]
impl<'a> From<JObject<'a>> for JClass<'a>
[src]
This conversion assumes that the JObject
is a pointer to a class object.
Auto Trait Implementations
impl<'a> RefUnwindSafe for JClass<'a>
[src]
impl<'a> !Send for JClass<'a>
[src]
impl<'a> !Sync for JClass<'a>
[src]
impl<'a> Unpin for JClass<'a>
[src]
impl<'a> UnwindSafe for JClass<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,