cargo_mobile2::android::config

Struct Metadata

source
pub struct Metadata {
Show 15 fields pub supported: bool, pub no_default_features: bool, pub cargo_args: Option<Vec<String>>, pub features: Option<Vec<String>>, pub app_sources: Option<Vec<String>>, pub app_plugins: Option<Vec<String>>, pub project_dependencies: Option<Vec<String>>, pub app_dependencies: Option<Vec<String>>, pub app_dependencies_platform: Option<Vec<String>>, pub asset_packs: Option<Vec<AssetPackInfo>>, pub app_activity_name: Option<String>, pub app_permissions: Option<Vec<String>>, pub app_theme_parent: Option<String>, pub env_vars: Option<HashMap<String, String>>, pub vulkan_validation: Option<bool>,
}

Fields§

§supported: bool§no_default_features: bool§cargo_args: Option<Vec<String>>§features: Option<Vec<String>>§app_sources: Option<Vec<String>>§app_plugins: Option<Vec<String>>§project_dependencies: Option<Vec<String>>§app_dependencies: Option<Vec<String>>§app_dependencies_platform: Option<Vec<String>>§asset_packs: Option<Vec<AssetPackInfo>>§app_activity_name: Option<String>§app_permissions: Option<Vec<String>>§app_theme_parent: Option<String>§env_vars: Option<HashMap<String, String>>§vulkan_validation: Option<bool>

Implementations§

source§

impl Metadata

source

pub const fn supported(&self) -> bool

source

pub fn no_default_features(&self) -> bool

source

pub fn cargo_args(&self) -> Option<&[String]>

source

pub fn features(&self) -> Option<&[String]>

source

pub fn app_sources(&self) -> &[String]

source

pub fn app_plugins(&self) -> Option<&[String]>

source

pub fn project_dependencies(&self) -> Option<&[String]>

source

pub fn app_dependencies(&self) -> Option<&[String]>

source

pub fn app_dependencies_platform(&self) -> Option<&[String]>

source

pub fn asset_packs(&self) -> Option<&[AssetPackInfo]>

source

pub fn app_activity_name(&self) -> Option<&str>

source

pub fn app_permissions(&self) -> Option<&[String]>

source

pub fn app_theme_parent(&self) -> Option<&str>

source

pub fn vulkan_validation(&self) -> Option<bool>

Trait Implementations§

source§

impl Debug for Metadata

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Metadata

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for Metadata

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

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> Pointable for T

source§

const ALIGN: usize = _

The alignment of pointer.
source§

type Init = T

The type for initializers.
source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

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

source§

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>,

source§

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.
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,