pub enum AndroidTypeKind {
IBinder,
FileDescriptor,
ParcelFileDescriptor,
ParcelableHolder,
}
Expand description
Android (or Java) built-in types which do not require explicit import
Variants§
Implementations§
Source§impl AndroidTypeKind
impl AndroidTypeKind
pub fn from_type_name(name: &str) -> Option<Self>
pub fn from_name(name: &str) -> Option<Self>
pub fn from_qualified_name(qualified_name: &str) -> Option<Self>
pub fn get_name(&self) -> &str
pub fn can_be_qualified(&self) -> bool
pub fn must_be_imported(&self) -> bool
pub fn get_qualified_name(&self) -> &str
Trait Implementations§
Source§impl Clone for AndroidTypeKind
impl Clone for AndroidTypeKind
Source§fn clone(&self) -> AndroidTypeKind
fn clone(&self) -> AndroidTypeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AndroidTypeKind
impl Debug for AndroidTypeKind
Source§impl<'de> Deserialize<'de> for AndroidTypeKind
impl<'de> Deserialize<'de> for AndroidTypeKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AndroidTypeKind
impl PartialEq for AndroidTypeKind
Source§impl Serialize for AndroidTypeKind
impl Serialize for AndroidTypeKind
impl Eq for AndroidTypeKind
impl StructuralPartialEq for AndroidTypeKind
Auto Trait Implementations§
impl Freeze for AndroidTypeKind
impl RefUnwindSafe for AndroidTypeKind
impl Send for AndroidTypeKind
impl Sync for AndroidTypeKind
impl Unpin for AndroidTypeKind
impl UnwindSafe for AndroidTypeKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more