[−][src]Struct jni_glue::ShortArray
A PrimitiveArray implementation.
Trait Implementations
impl JniType for ShortArray
[src]
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
[src]
impl PrimitiveArray<i16> for ShortArray
[src]
fn new<'env>(env: &'env Env, size: usize) -> Local<'env, Self>
[src]
fn from<'env>(env: &'env Env, elements: &[jshort]) -> Local<'env, Self>
[src]
fn len(&self) -> usize
[src]
fn get_region(&self, start: usize, elements: &mut [jshort])
[src]
fn set_region(&self, start: usize, elements: &[jshort])
[src]
fn get_region_as_vec(&self, range: impl RangeBounds<usize>) -> Vec<T>
[src]
fn as_vec(&self) -> Vec<T>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ShortArray
impl !Send for ShortArray
impl !Sync for ShortArray
impl Unpin for ShortArray
impl UnwindSafe for ShortArray
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>,