Skip to main content

JType

Trait JType 

Source
pub trait JType: JObjRef + JObjNew {
    const CLASS: &'static str;
    const OBJECT_SIG: &'static str;
    const DIM: u8 = 0;
}
Expand description

用于描述java类的信息。

Required Associated Constants§

Source

const CLASS: &'static str

java类的名称。

Source

const OBJECT_SIG: &'static str

对象的签名描述。

Provided Associated Constants§

Source

const DIM: u8 = 0

数组维度,0表示不是数组

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl JType for &[String]

Source§

const CLASS: &'static str = <String as JType>::CLASS

Source§

const OBJECT_SIG: &'static str = <String as JType>::OBJECT_SIG

Source§

const DIM: u8 = 1

Source§

impl JType for &[u8]

Source§

const CLASS: &'static str = "B"

Source§

const OBJECT_SIG: &'static str = "B"

Source§

const DIM: u8 = 1

Source§

impl JType for String

Source§

const CLASS: &'static str = "java/lang/String"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/String;"

Source§

impl<T: JType> JType for Arc<T>

Source§

const CLASS: &'static str = T::CLASS

Source§

const OBJECT_SIG: &'static str = T::OBJECT_SIG

Source§

impl<T: JType> JType for Mutex<T>

Source§

const CLASS: &'static str = T::CLASS

Source§

const OBJECT_SIG: &'static str = T::OBJECT_SIG

Source§

impl<T: JType> JType for Rc<T>

Source§

const CLASS: &'static str = T::CLASS

Source§

const OBJECT_SIG: &'static str = T::OBJECT_SIG

Implementors§

Source§

impl JType for Activity

Source§

const CLASS: &'static str = "android/app/Activity"

Source§

const OBJECT_SIG: &'static str = "Landroid/app/Activity;"

Source§

impl JType for Allocation

Source§

const CLASS: &'static str = "android/renderscript/Allocation"

Source§

const OBJECT_SIG: &'static str = "Landroid/renderscript/Allocation;"

Source§

impl JType for AudioManager

Source§

const CLASS: &'static str = "android/media/AudioManager"

Source§

const OBJECT_SIG: &'static str = "Landroid/media/AudioManager;"

Source§

impl JType for Boolean

Source§

const CLASS: &'static str = "java/lang/Boolean"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/Boolean;"

Source§

impl JType for Build

Source§

const CLASS: &'static str = "android/os/Build"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/Build;"

Source§

impl JType for Build_VERSION

Source§

const CLASS: &'static str = "android/os/Build$VERSION"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/Build$VERSION;"

Source§

impl JType for Build_VERSION_CODES

Source§

const CLASS: &'static str = "android/os/Build$VERSION_CODES"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/Build$VERSION_CODES;"

Source§

impl JType for Bundle

Source§

const CLASS: &'static str = "android/os/Bundle"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/Bundle;"

Source§

impl JType for Button

Source§

const CLASS: &'static str = "android/widget/Button"

Source§

const OBJECT_SIG: &'static str = "Landroid/widget/Button;"

Source§

impl JType for ByteBuffer

Source§

const CLASS: &'static str = "java/nio/ByteBuffer"

Source§

const OBJECT_SIG: &'static str = "Ljava/nio/ByteBuffer;"

Source§

impl JType for Camera

Source§

const CLASS: &'static str = "android/hardware/Camera"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera;"

Source§

impl JType for Camera_Area

Source§

const CLASS: &'static str = "android/hardware/Camera$Area"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$Area;"

Source§

impl JType for Camera_CameraInfo

Source§

const CLASS: &'static str = "android/hardware/Camera$CameraInfo"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$CameraInfo;"

Source§

impl JType for Camera_Face

Source§

const CLASS: &'static str = "android/hardware/Camera$Face"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$Face;"

Source§

impl JType for Camera_Parameters

Source§

const CLASS: &'static str = "android/hardware/Camera$Parameters"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$Parameters;"

Source§

impl JType for Camera_Size

Source§

const CLASS: &'static str = "android/hardware/Camera$Size"

Source§

const OBJECT_SIG: &'static str = "Landroid/hardware/Camera$Size;"

Source§

impl JType for Canvas

Source§

const CLASS: &'static str = "android/graphics/Canvas"

Source§

const OBJECT_SIG: &'static str = "Landroid/graphics/Canvas;"

Source§

impl JType for ClassLoader

Source§

const CLASS: &'static str = "java/lang/ClassLoader"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/ClassLoader;"

Source§

impl JType for ComponentName

Source§

const CLASS: &'static str = "android/content/ComponentName"

Source§

const OBJECT_SIG: &'static str = "Landroid/content/ComponentName;"

Source§

impl JType for Context

Source§

const CLASS: &'static str = "android/content/Context"

Source§

const OBJECT_SIG: &'static str = "Landroid/content/Context;"

Source§

impl JType for ContextThemeWrapper

Source§

const CLASS: &'static str = "android/view/ContextThemeWrapper"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/ContextThemeWrapper;"

Source§

impl JType for ContextWrapper

Source§

const CLASS: &'static str = "android/content/ContextWrapper"

Source§

const OBJECT_SIG: &'static str = "Landroid/content/ContextWrapper;"

Source§

impl JType for DexClassLoader

Source§

const CLASS: &'static str = "dalvik/system/DexClassLoader"

Source§

const OBJECT_SIG: &'static str = "Ldalvik/system/DexClassLoader;"

Source§

impl JType for Display

Source§

const CLASS: &'static str = "android/view/Display"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/Display;"

Source§

impl JType for EditText

Source§

const CLASS: &'static str = "android/widget/EditText"

Source§

const OBJECT_SIG: &'static str = "Landroid/widget/EditText;"

Source§

impl JType for EditorInfo

Source§

const CLASS: &'static str = "android/view/inputmethod/EditorInfo"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/inputmethod/EditorInfo;"

Source§

impl JType for Executable

Source§

const CLASS: &'static str = "java/lang/reflect/Executable"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/reflect/Executable;"

Source§

impl JType for File

Source§

const CLASS: &'static str = "java/io/File"

Source§

const OBJECT_SIG: &'static str = "Ljava/io/File;"

Source§

impl JType for Float

Source§

const CLASS: &'static str = "java/lang/Float"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/Float;"

Source§

impl JType for InMemoryDexClassLoader

Source§

const CLASS: &'static str = "dalvik/system/InMemoryDexClassLoader"

Source§

const OBJECT_SIG: &'static str = "Ldalvik/system/InMemoryDexClassLoader;"

Source§

impl JType for InputEvent

Source§

const CLASS: &'static str = "android/view/InputEvent"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/InputEvent;"

Source§

impl JType for InputMethodManager

Source§

const CLASS: &'static str = "android/view/inputmethod/InputMethodManager"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/inputmethod/InputMethodManager;"

Source§

impl JType for Integer

Source§

const CLASS: &'static str = "java/lang/Integer"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/Integer;"

Source§

impl JType for Intent

Source§

const CLASS: &'static str = "android/content/Intent"

Source§

const OBJECT_SIG: &'static str = "Landroid/content/Intent;"

Source§

impl JType for KeyEvent

Source§

const CLASS: &'static str = "android/view/KeyEvent"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/KeyEvent;"

Source§

impl JType for LinearLayout

Source§

const CLASS: &'static str = "android/widget/LinearLayout"

Source§

const OBJECT_SIG: &'static str = "Landroid/widget/LinearLayout;"

Source§

impl JType for LinearLayout_LayoutParams

Source§

const CLASS: &'static str = "android/widget/LinearLayout$LayoutParams"

Source§

const OBJECT_SIG: &'static str = "Landroid/widget/LinearLayout$LayoutParams;"

Source§

impl JType for Manifest_permission

Source§

const CLASS: &'static str = "android/Manifest$permission"

Source§

const OBJECT_SIG: &'static str = "Landroid/Manifest$permission;"

Source§

impl JType for Method

Source§

const CLASS: &'static str = "java/lang/reflect/Method"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/reflect/Method;"

Source§

impl JType for Object

Source§

const CLASS: &'static str = "java/lang/Object"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/Object;"

Source§

impl JType for PackageManager

Source§

const CLASS: &'static str = "android/content/pm/PackageManager"

Source§

const OBJECT_SIG: &'static str = "Landroid/content/pm/PackageManager;"

Source§

impl JType for Point

Source§

const CLASS: &'static str = "android/graphics/Point"

Source§

const OBJECT_SIG: &'static str = "Landroid/graphics/Point;"

Source§

impl JType for Rect

Source§

const CLASS: &'static str = "android/graphics/Rect"

Source§

const OBJECT_SIG: &'static str = "Landroid/graphics/Rect;"

Source§

impl JType for RenderScript

Source§

const CLASS: &'static str = "android/renderscript/RenderScript"

Source§

const OBJECT_SIG: &'static str = "Landroid/renderscript/RenderScript;"

Source§

impl JType for Settings

Source§

const CLASS: &'static str = "android/provider/Settings"

Source§

const OBJECT_SIG: &'static str = "Landroid/provider/Settings;"

Source§

impl JType for Surface

Source§

const CLASS: &'static str = "android/view/Surface"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/Surface;"

Source§

impl JType for SurfaceTexture

Source§

const CLASS: &'static str = "android/graphics/SurfaceTexture"

Source§

const OBJECT_SIG: &'static str = "Landroid/graphics/SurfaceTexture;"

Source§

impl JType for System

Source§

const CLASS: &'static str = "java/lang/System"

Source§

const OBJECT_SIG: &'static str = "Ljava/lang/System;"

Source§

impl JType for SystemProperties

Source§

const CLASS: &'static str = "android/os/SystemProperties"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/SystemProperties;"

Source§

impl JType for SystemProperties_Handle

Source§

const CLASS: &'static str = "android/os/SystemProperties_Handle"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/SystemProperties_Handle;"

Source§

impl JType for TextToSpeech

Source§

const CLASS: &'static str = "android/speech/tts/TextToSpeech"

Source§

const OBJECT_SIG: &'static str = "Landroid/speech/tts/TextToSpeech;"

Source§

impl JType for TextView

Source§

const CLASS: &'static str = "android/widget/TextView"

Source§

const OBJECT_SIG: &'static str = "Landroid/widget/TextView;"

Source§

impl JType for VibrationEffect

Source§

const CLASS: &'static str = "android/os/VibrationEffect"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/VibrationEffect;"

Source§

impl JType for Vibrator

Source§

const CLASS: &'static str = "android/os/Vibrator"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/Vibrator;"

Source§

impl JType for VibratorManager

Source§

const CLASS: &'static str = "android/os/VibratorManager"

Source§

const OBJECT_SIG: &'static str = "Landroid/os/VibratorManager;"

Source§

impl JType for View

Source§

const CLASS: &'static str = "android/view/View"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/View;"

Source§

impl JType for ViewGroup

Source§

const CLASS: &'static str = "android/view/ViewGroup"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/ViewGroup;"

Source§

impl JType for ViewGroup_LayoutParams

Source§

const CLASS: &'static str = "android/view/ViewGroup$LayoutParams"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/ViewGroup$LayoutParams;"

Source§

impl JType for ViewGroup_MarginLayoutParams

Source§

const CLASS: &'static str = "android/view/ViewGroup$MarginLayoutParams"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/ViewGroup$MarginLayoutParams;"

Source§

impl JType for Window

Source§

const CLASS: &'static str = "android/view/Window"

Source§

const OBJECT_SIG: &'static str = "Landroid/view/Window;"