Struct jni::objects::JByteBuffer
source · #[repr(transparent)]pub struct JByteBuffer<'local>(_);
Expand description
Lifetime’d representation of a jobject
that is an instance of the
ByteBuffer Java class. Just a JObject
wrapped in a new class.
Implementations§
source§impl<'local> JByteBuffer<'local>
impl<'local> JByteBuffer<'local>
Methods from Deref<Target = JObject<'local>>§
Trait Implementations§
source§impl<'local> AsRef<JByteBuffer<'local>> for JByteBuffer<'local>
impl<'local> AsRef<JByteBuffer<'local>> for JByteBuffer<'local>
source§fn as_ref(&self) -> &JByteBuffer<'local>
fn as_ref(&self) -> &JByteBuffer<'local>
Converts this type into a shared reference of the (usually inferred) input type.
source§impl<'local> AsRef<JObject<'local>> for JByteBuffer<'local>
impl<'local> AsRef<JObject<'local>> for JByteBuffer<'local>
source§impl<'local> Debug for JByteBuffer<'local>
impl<'local> Debug for JByteBuffer<'local>
source§impl<'local> Default for JByteBuffer<'local>
impl<'local> Default for JByteBuffer<'local>
source§impl<'local> Deref for JByteBuffer<'local>
impl<'local> Deref for JByteBuffer<'local>
source§impl<'local, 'obj_ref> From<&'obj_ref JObject<'local>> for &'obj_ref JByteBuffer<'local>
impl<'local, 'obj_ref> From<&'obj_ref JObject<'local>> for &'obj_ref JByteBuffer<'local>
source§impl<'local> From<JByteBuffer<'local>> for JObject<'local>
impl<'local> From<JByteBuffer<'local>> for JObject<'local>
source§fn from(other: JByteBuffer<'_>) -> JObject<'_>
fn from(other: JByteBuffer<'_>) -> JObject<'_>
Converts to this type from the input type.