[−]Struct jni_android_sys::android::content::res::AssetFileDescriptor_AutoCloseOutputStream
public class AssetFileDescriptor.AutoCloseOutputStream
Required feature: "android-content-res-AssetFileDescriptor_AutoCloseOutputStream"
Methods
impl AssetFileDescriptor_AutoCloseOutputStream
pub fn new<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env AssetFileDescriptor>>
) -> Result<Local<'env, AssetFileDescriptor_AutoCloseOutputStream>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env AssetFileDescriptor>>
) -> Result<Local<'env, AssetFileDescriptor_AutoCloseOutputStream>, Local<'env, Throwable>>
Required features: "android-content-res-AssetFileDescriptor"
pub fn write_byte_array_int_int<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>,
arg1: i32,
arg2: i32
) -> Result<(), Local<'env, Throwable>>
pub fn write_byte_array<'env>(
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ByteArray>>
) -> Result<(), Local<'env, Throwable>>
pub fn write_int<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Methods from Deref<Target = ParcelFileDescriptor_AutoCloseOutputStream>
Trait Implementations
impl AsJValue for AssetFileDescriptor_AutoCloseOutputStream
impl AsValidJObjectAndEnv for AssetFileDescriptor_AutoCloseOutputStream
impl Deref for AssetFileDescriptor_AutoCloseOutputStream
type Target = ParcelFileDescriptor_AutoCloseOutputStream
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for AssetFileDescriptor_AutoCloseOutputStream
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for AssetFileDescriptor_AutoCloseOutputStream
impl !Send for AssetFileDescriptor_AutoCloseOutputStream
impl !Sync for AssetFileDescriptor_AutoCloseOutputStream
impl Unpin for AssetFileDescriptor_AutoCloseOutputStream
impl UnwindSafe for AssetFileDescriptor_AutoCloseOutputStream
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,