[−]Struct jni_android_sys::java::nio::IntBuffer
public class IntBuffer
Required feature: java-nio-IntBuffer
Methods
impl IntBuffer
pub fn allocate<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, IntBuffer>>>
Required features: "java-nio-IntBuffer"
pub fn wrap_int_array_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>
wrap
Required features: "java-nio-IntBuffer"
pub fn wrap_int_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>
wrap
Required features: "java-nio-IntBuffer"
pub fn slice<'env>(&'env self) -> Result<Option<Local<'env, IntBuffer>>>[src]
Required features: "java-nio-IntBuffer"
pub fn duplicate<'env>(&'env self) -> Result<Option<Local<'env, IntBuffer>>>[src]
Required features: "java-nio-IntBuffer"
pub fn as_read_only_buffer<'env>(
&'env self
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self
) -> Result<Option<Local<'env, IntBuffer>>>
Required features: "java-nio-IntBuffer"
pub fn get<'env>(&'env self) -> Result<i32>[src]
pub fn put_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, IntBuffer>>>
Required features: "java-nio-IntBuffer"
pub fn get_int<'env>(&'env self, arg0: i32) -> Result<i32>[src]
pub fn put_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, IntBuffer>>>
Required features: "java-nio-IntBuffer"
pub fn get_int_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>
get
Required features: "java-nio-IntBuffer"
pub fn get_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>
get
Required features: "java-nio-IntBuffer"
pub fn put_int_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env IntBuffer>>
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntBuffer>>
) -> Result<Option<Local<'env, IntBuffer>>>
Required features: "java-nio-IntBuffer"
pub fn put_int_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, IntBuffer>>>
put
Required features: "java-nio-IntBuffer"
pub fn put_int_array<'env>(
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env IntArray>>
) -> Result<Option<Local<'env, IntBuffer>>>
put
Required features: "java-nio-IntBuffer"
pub fn has_array<'env>(&'env self) -> Result<bool>[src]
pub fn array<'env>(&'env self) -> Result<Option<Local<'env, IntArray>>>[src]
pub fn array_offset<'env>(&'env self) -> Result<i32>[src]
pub fn compact<'env>(&'env self) -> Result<Option<Local<'env, IntBuffer>>>[src]
Required features: "java-nio-IntBuffer"
pub fn is_direct<'env>(&'env self) -> Result<bool>[src]
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn hash_code<'env>(&'env self) -> Result<i32>[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn compare_to_int_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env IntBuffer>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env IntBuffer>>
) -> Result<i32>
Required features: "java-nio-IntBuffer"
pub fn order<'env>(&'env self) -> Result<Option<Local<'env, ByteOrder>>>[src]
Required features: "java-nio-ByteOrder"
Methods from Deref<Target = Buffer>
pub fn capacity<'env>(&'env self) -> Result<i32>[src]
pub fn position<'env>(&'env self) -> Result<i32>[src]
pub fn position_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Buffer>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Buffer>>>
Required features: "java-nio-Buffer"
pub fn limit<'env>(&'env self) -> Result<i32>[src]
pub fn limit_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Buffer>>>[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, Buffer>>>
Required features: "java-nio-Buffer"
pub fn mark<'env>(&'env self) -> Result<Option<Local<'env, Buffer>>>[src]
Required features: "java-nio-Buffer"
pub fn reset<'env>(&'env self) -> Result<Option<Local<'env, Buffer>>>[src]
Required features: "java-nio-Buffer"
pub fn clear<'env>(&'env self) -> Result<Option<Local<'env, Buffer>>>[src]
Required features: "java-nio-Buffer"
pub fn flip<'env>(&'env self) -> Result<Option<Local<'env, Buffer>>>[src]
Required features: "java-nio-Buffer"
pub fn rewind<'env>(&'env self) -> Result<Option<Local<'env, Buffer>>>[src]
Required features: "java-nio-Buffer"
pub fn remaining<'env>(&'env self) -> Result<i32>[src]
pub fn has_remaining<'env>(&'env self) -> Result<bool>[src]
pub fn is_read_only<'env>(&'env self) -> Result<bool>[src]
pub fn has_array<'env>(&'env self) -> Result<bool>[src]
pub fn array<'env>(&'env self) -> Result<Option<Local<'env, Object>>>[src]
Required features: "java-lang-Object"
pub fn array_offset<'env>(&'env self) -> Result<i32>[src]
pub fn is_direct<'env>(&'env self) -> Result<bool>[src]
Trait Implementations
impl AsRef<Comparable> for IntBuffer
fn as_ref(&self) -> &Comparable
impl Deref for IntBuffer
impl AsValidJObjectAndEnv for IntBuffer
impl AsJValue for IntBuffer
Auto Trait Implementations
impl !Sync for IntBuffer
impl Unpin for IntBuffer
impl !Send for IntBuffer
impl UnwindSafe for IntBuffer
impl RefUnwindSafe for IntBuffer
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for 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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,