#[rustfmt::skip] // This file has been automatically generated by `jnim` from `LayoutInflaterFactory.class`. // DO NOT EDIT use jnim::*; pub trait LayoutInflaterFactory: AsRef { fn layout_inflater_factory_class(env: Option<&JEnv>) -> Option { const NAME: &'static [u8] = b"android/view/LayoutInflater$Factory\0"; static CACHE: CachedID = CachedID::new(); CACHE.get(|| JEnv::env(env)?.find_class(NAME)) } } pub struct LayoutInflaterFactoryObject { __object: JObject, } impl LayoutInflaterFactory for LayoutInflaterFactoryObject {} impl JNameMaker for LayoutInflaterFactoryObject { const JAVA_PATH: &'static [u8] = b"android/view/LayoutInflater$Factory\0"; } impl JPlainMarker for LayoutInflaterFactoryObject { fn class(env: Option<&JEnv>) -> Option { static CACHE: CachedID = CachedID::new(); CACHE.get(|| JEnv::env(env)?.find_class(Self::JAVA_PATH)) } } impl core::ops::Deref for LayoutInflaterFactoryObject { type Target = JObject; fn deref(&self) -> &Self::Target { &self.__object } } impl AsRef for LayoutInflaterFactoryObject { fn as_ref(&self) -> &JObject { &self.__object } } #[test] fn test_type_zero() { assert_eq!(0, std::mem::size_of::()); }