pub trait ComponentName_WithComponentName:
JObjRef
+ JObjNew
+ PartialEq
+ Debug {
const CLASS: &'static str = "android/content/ComponentName$WithComponentName";
const OBJECT_SIG: &'static str = "Landroid/content/ComponentName$WithComponentName;";
const DIM: u8 = 0u8;
// Required method
fn get_component_name(&self) -> ComponentName;
}
Expand description
与组件名称关联的类的接口。
Provided Associated Constants§
Sourceconst CLASS: &'static str = "android/content/ComponentName$WithComponentName"
const CLASS: &'static str = "android/content/ComponentName$WithComponentName"
android/content/ComponentName$WithComponentName
Sourceconst OBJECT_SIG: &'static str = "Landroid/content/ComponentName$WithComponentName;"
const OBJECT_SIG: &'static str = "Landroid/content/ComponentName$WithComponentName;"
Landroid/content/ComponentName$WithComponentName;
Required Methods§
Sourcefn get_component_name(&self) -> ComponentName
fn get_component_name(&self) -> ComponentName
返回关联的组件名称。
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.