pub struct JByteBuffer<'a>(/* private fields */);
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.
Trait Implementations§
Source§impl<'a> Clone for JByteBuffer<'a>
impl<'a> Clone for JByteBuffer<'a>
Source§fn clone(&self) -> JByteBuffer<'a>
fn clone(&self) -> JByteBuffer<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> From<JByteBuffer<'a>> for JObject<'a>
impl<'a> From<JByteBuffer<'a>> for JObject<'a>
Source§fn from(other: JByteBuffer<'_>) -> JObject<'_>
fn from(other: JByteBuffer<'_>) -> JObject<'_>
Converts to this type from the input type.
Source§impl<'a> From<JObject<'a>> for JByteBuffer<'a>
impl<'a> From<JObject<'a>> for JByteBuffer<'a>
Source§fn from(other: JObject<'_>) -> JByteBuffer<'_>
fn from(other: JObject<'_>) -> JByteBuffer<'_>
Converts to this type from the input type.
Source§impl<'a> Deref for JByteBuffer<'a>
impl<'a> Deref for JByteBuffer<'a>
impl<'a> Copy for JByteBuffer<'a>
Auto Trait Implementations§
impl<'a> Freeze for JByteBuffer<'a>
impl<'a> RefUnwindSafe for JByteBuffer<'a>
impl<'a> !Send for JByteBuffer<'a>
impl<'a> !Sync for JByteBuffer<'a>
impl<'a> Unpin for JByteBuffer<'a>
impl<'a> UnwindSafe for JByteBuffer<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more