[−]Struct jni_android_sys::java::nio::LongBuffer
public class LongBuffer
Required feature: java-nio-LongBuffer
Methods
impl LongBuffer
pub fn allocate<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, LongBuffer>>>[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, LongBuffer>>>
Required features: "java-nio-LongBuffer"
pub fn wrap_long_array_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>
wrap
Required features: "java-nio-LongBuffer"
pub fn wrap_long_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>
wrap
Required features: "java-nio-LongBuffer"
pub fn slice<'env>(&'env self) -> Result<Option<Local<'env, LongBuffer>>>[src]
Required features: "java-nio-LongBuffer"
pub fn duplicate<'env>(&'env self) -> Result<Option<Local<'env, LongBuffer>>>[src]
Required features: "java-nio-LongBuffer"
pub fn as_read_only_buffer<'env>(
&'env self
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self
) -> Result<Option<Local<'env, LongBuffer>>>
Required features: "java-nio-LongBuffer"
pub fn get<'env>(&'env self) -> Result<i64>[src]
pub fn put_long<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, LongBuffer>>>
Required features: "java-nio-LongBuffer"
pub fn get_int<'env>(&'env self, arg0: i32) -> Result<i64>[src]
pub fn put_int_long<'env>(
&'env self,
arg0: i32,
arg1: i64
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: i32,
arg1: i64
) -> Result<Option<Local<'env, LongBuffer>>>
Required features: "java-nio-LongBuffer"
pub fn get_long_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>
get
Required features: "java-nio-LongBuffer"
pub fn get_long_array<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>
get
Required features: "java-nio-LongBuffer"
pub fn put_long_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env LongBuffer>>
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env LongBuffer>>
) -> Result<Option<Local<'env, LongBuffer>>>
Required features: "java-nio-LongBuffer"
pub fn put_long_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, LongBuffer>>>
put
Required features: "java-nio-LongBuffer"
pub fn put_long_array<'env>(
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env LongArray>>
) -> Result<Option<Local<'env, LongBuffer>>>
put
Required features: "java-nio-LongBuffer"
pub fn has_array<'env>(&'env self) -> Result<bool>[src]
pub fn array<'env>(&'env self) -> Result<Option<Local<'env, LongArray>>>[src]
pub fn array_offset<'env>(&'env self) -> Result<i32>[src]
pub fn compact<'env>(&'env self) -> Result<Option<Local<'env, LongBuffer>>>[src]
Required features: "java-nio-LongBuffer"
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_long_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env LongBuffer>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env LongBuffer>>
) -> Result<i32>
Required features: "java-nio-LongBuffer"
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 LongBuffer
fn as_ref(&self) -> &Comparable
impl Deref for LongBuffer
impl AsValidJObjectAndEnv for LongBuffer
impl AsJValue for LongBuffer
Auto Trait Implementations
impl !Sync for LongBuffer
impl Unpin for LongBuffer
impl !Send for LongBuffer
impl UnwindSafe for LongBuffer
impl RefUnwindSafe for LongBuffer
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,