[−]Struct jni_android_sys::java::nio::CharBuffer
public class CharBuffer
Required feature: java-nio-CharBuffer
Methods
impl CharBuffer
pub fn allocate<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn wrap_char_array_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
wrap
Required features: "java-nio-CharBuffer"
pub fn wrap_char_array<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>
wrap
Required features: "java-nio-CharBuffer"
pub fn read<'env>(
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<i32>
Required features: "java-nio-CharBuffer"
pub fn wrap_char_sequence_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-CharSequence", "java-nio-CharBuffer"
pub fn wrap_char_sequence<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-CharSequence", "java-nio-CharBuffer"
pub fn slice<'env>(&'env self) -> Result<Option<Local<'env, CharBuffer>>>[src]
Required features: "java-nio-CharBuffer"
pub fn duplicate<'env>(&'env self) -> Result<Option<Local<'env, CharBuffer>>>[src]
Required features: "java-nio-CharBuffer"
pub fn as_read_only_buffer<'env>(
&'env self
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn get<'env>(&'env self) -> Result<jchar>[src]
pub fn put_char<'env>(
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn get_int<'env>(&'env self, arg0: i32) -> Result<jchar>[src]
pub fn put_int_char<'env>(
&'env self,
arg0: i32,
arg1: jchar
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: i32,
arg1: jchar
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn get_char_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
get
Required features: "java-nio-CharBuffer"
pub fn get_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>
get
Required features: "java-nio-CharBuffer"
pub fn put_char_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn put_char_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
put
Required features: "java-nio-CharBuffer"
pub fn put_char_array<'env>(
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharArray>>
) -> Result<Option<Local<'env, CharBuffer>>>
put
Required features: "java-nio-CharBuffer"
pub fn put_string_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-String", "java-nio-CharBuffer"
pub fn put_string<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-String", "java-nio-CharBuffer"
pub fn has_array<'env>(&'env self) -> Result<bool>[src]
pub fn array<'env>(&'env self) -> Result<Option<Local<'env, CharArray>>>[src]
pub fn array_offset<'env>(&'env self) -> Result<i32>[src]
pub fn compact<'env>(&'env self) -> Result<Option<Local<'env, CharBuffer>>>[src]
Required features: "java-nio-CharBuffer"
pub fn is_direct<'env>(&'env self) -> Result<bool>[src]
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_char_buffer<'env>(
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<i32>[src]
&'env self,
arg0: impl Into<Option<&'env CharBuffer>>
) -> Result<i32>
Required features: "java-nio-CharBuffer"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]
Required features: "java-lang-String"
pub fn length<'env>(&'env self) -> Result<i32>[src]
pub fn char_at<'env>(&'env self, arg0: i32) -> Result<jchar>[src]
pub fn sub_sequence_int_int<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn append_char_sequence<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-CharSequence", "java-nio-CharBuffer"
pub fn append_char_sequence_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-lang-CharSequence", "java-nio-CharBuffer"
pub fn append_char<'env>(
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, CharBuffer>>>[src]
&'env self,
arg0: jchar
) -> Result<Option<Local<'env, CharBuffer>>>
Required features: "java-nio-CharBuffer"
pub fn order<'env>(&'env self) -> Result<Option<Local<'env, ByteOrder>>>[src]
Required features: "java-nio-ByteOrder"
pub fn chars<'env>(&'env self) -> Result<Option<Local<'env, IntStream>>>[src]
Required features: "java-util-stream-IntStream"
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 CharBuffer
fn as_ref(&self) -> &Comparable
impl AsRef<Appendable> for CharBuffer
fn as_ref(&self) -> &Appendable
impl AsRef<CharSequence> for CharBuffer
fn as_ref(&self) -> &CharSequence
impl AsRef<Readable> for CharBuffer
impl Deref for CharBuffer
impl AsValidJObjectAndEnv for CharBuffer
impl AsJValue for CharBuffer
Auto Trait Implementations
impl !Sync for CharBuffer
impl Unpin for CharBuffer
impl !Send for CharBuffer
impl UnwindSafe for CharBuffer
impl RefUnwindSafe for CharBuffer
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,