Struct Host
pub struct Host {}Expand description
This structure exposes Android-specific host information.
Implementations§
§impl Host
impl Host
pub fn sdk_version() -> Option<u32>
pub fn sdk_version() -> Option<u32>
Return the Android SDK/API level of the device (e.g. 34 for Android
14).
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnwindSafe for Host
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