pub struct AndroidSystemProperties { /* private fields */ }Expand description
An object that can retrieve android system properties.
Example
use android_system_properties::AndroidSystemProperties;
let properties = AndroidSystemProperties::new();
if let Some(value) = properties.get("persist.sys.timezone") {
println!("{}", value);
}Implementations
Trait Implementations
sourceimpl Debug for AndroidSystemProperties
impl Debug for AndroidSystemProperties
Auto Trait Implementations
impl RefUnwindSafe for AndroidSystemProperties
impl !Send for AndroidSystemProperties
impl !Sync for AndroidSystemProperties
impl Unpin for AndroidSystemProperties
impl UnwindSafe for AndroidSystemProperties
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more