pub struct AndroidOptions {
pub network: bool,
pub multicast: bool,
pub audio_settings: bool,
pub all_files_access: bool,
}Expand description
Android capabilities needed by an application’s Rust engine, which cannot be inferred from its UI. Multicast also enables network access.
Fields§
§network: bool§multicast: bool§audio_settings: boolThe engine changes how the system plays its audio.
all_files_access: boolThe engine reads and writes the user’s files anywhere on shared
storage, by path, once the user allows it
(bern::platform::ask_all_files).
Trait Implementations§
Source§impl Clone for AndroidOptions
impl Clone for AndroidOptions
Source§impl Debug for AndroidOptions
impl Debug for AndroidOptions
Source§impl Default for AndroidOptions
impl Default for AndroidOptions
Source§impl<'de> Deserialize<'de> for AndroidOptionswhere
AndroidOptions: Default,
impl<'de> Deserialize<'de> for AndroidOptionswhere
AndroidOptions: Default,
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
Auto Trait Implementations§
impl Forget for AndroidOptions
impl Freeze for AndroidOptions
impl RefUnwindSafe for AndroidOptions
impl Send for AndroidOptions
impl Sync for AndroidOptions
impl Unpin for AndroidOptions
impl UnsafeUnpin for AndroidOptions
impl UnwindSafe for AndroidOptions
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