pub trait TypedArrayExt {
// Required method
fn typed_get_array_length<R: StrongRef, T: ObjectType>(
&self,
array: &Object<R, Array<T>>,
) -> Result<i32, LocalObject<'_, JavaThrowable>>;
}Expand description
Extension methods for typed arrays.
Required Methods§
Sourcefn typed_get_array_length<R: StrongRef, T: ObjectType>(
&self,
array: &Object<R, Array<T>>,
) -> Result<i32, LocalObject<'_, JavaThrowable>>
fn typed_get_array_length<R: StrongRef, T: ObjectType>( &self, array: &Object<R, Array<T>>, ) -> Result<i32, LocalObject<'_, JavaThrowable>>
Get the length of an array.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.