pub struct LayoutInflaterFactory2Object { /* private fields */ }

Methods from Deref<Target = JObject>§

source

pub fn as_sys(&self) -> *mut _jobject

source

pub fn cast<T>(&self, env: &JEnv) -> Option<&T>
where T: JPlainMarker,

source

pub unsafe fn cast_unchecked<T>(&self) -> Option<&T>
where T: JPlainMarker,

source

pub fn class(&self, env: &JEnv) -> Option<JClassID>

Trait Implementations§

source§

impl AsRef<JObject> for LayoutInflaterFactory2Object

source§

fn as_ref(&self) -> &JObject

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl AsRef<LayoutInflaterFactory2Object> for Activity

source§

fn as_ref(&self) -> &LayoutInflaterFactory2Object

Converts this type into a shared reference of the (usually inferred) input type.
source§

impl Deref for LayoutInflaterFactory2Object

§

type Target = JObject

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl JNameMaker for LayoutInflaterFactory2Object

source§

const JAVA_PATH: &'static [u8] = b"android/view/LayoutInflater$Factory2\0"

source§

fn java_path() -> Option<&'static str>

source§

impl JPlainMarker for LayoutInflaterFactory2Object

source§

fn class(env: Option<&JEnv>) -> Option<JClassID>

source§

fn new_with<const N: usize>( env: &JEnv, method: JMethodID, args: impl AsJValueArray<N>, ) -> Option<&Self>

source§

fn instance_of(&self, class: JClassID, env: &JEnv) -> bool

source§

fn is_eq(&self, other: &Self, env: &JEnv) -> bool

source§

fn ref_type(&self, env: &JEnv) -> jobjectRefType

source§

fn local<'a, 'b>(&'a self, env: &'b JEnv) -> Option<JLocal<'a, Self>>
where 'b: 'a,

source§

fn weak(&self, env: &JEnv) -> Option<JWeak<Self>>

source§

fn global(&self, env: &JEnv) -> Option<JRc<Self>>

source§

impl LayoutInflaterFactory for LayoutInflaterFactory2Object

source§

impl LayoutInflaterFactory2 for LayoutInflaterFactory2Object

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.