Struct jni::objects::JClass [−][src]
#[repr(C)]pub struct JClass<'a>(_);
Lifetime'd representation of a jclass
. Just a JObject
wrapped in a new
class.
Methods from Deref<Target = JObject<'a>>
Trait Implementations
impl<'a, T> Desc<'a, JClass<'a>> for T where
T: Into<JNIString>,
[src]
impl<'a, T> Desc<'a, JClass<'a>> for T where
T: Into<JNIString>,
impl<'a, 'b> Desc<'a, JClass<'a>> for JObject<'b>
[src]
impl<'a, 'b> Desc<'a, JClass<'a>> for JObject<'b>
impl<'a, 'b> Desc<'a, JClass<'b>> for &'b GlobalRef
[src]
impl<'a, 'b> Desc<'a, JClass<'b>> for &'b GlobalRef
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]
impl<'a, 'b, 'c> Desc<'a, JClass<'b>> for &'b AutoLocal<'c> where
'c: 'b,
This conversion assumes that the AutoLocal
is a pointer to a class object.
impl<'a> Clone for JClass<'a>
[src]
impl<'a> Clone for JClass<'a>
fn clone(&self) -> JClass<'a>
[src]
fn clone(&self) -> JClass<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Copy for JClass<'a>
[src]
impl<'a> Copy for JClass<'a>
impl<'a> Debug for JClass<'a>
[src]
impl<'a> Debug for JClass<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> From<jclass> for JClass<'a>
[src]
impl<'a> From<jclass> for JClass<'a>
impl<'a> Deref for JClass<'a>
[src]
impl<'a> Deref for JClass<'a>
type Target = JObject<'a>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
fn deref(&self) -> &Self::Target
Dereferences the value.
impl<'a> From<JClass<'a>> for JObject<'a>
[src]
impl<'a> From<JClass<'a>> for JObject<'a>
impl<'a> From<JObject<'a>> for JClass<'a>
[src]
impl<'a> From<JObject<'a>> for JClass<'a>
This conversion assumes that the JObject
is a pointer to a class object.