pub struct ApiLevel(/* private fields */);
Expand description
An ApiLevel
represents an API level of the Fuchsia platform.
Implementations§
Source§impl ApiLevel
impl ApiLevel
Sourcepub const NEXT: ApiLevel = _
pub const NEXT: ApiLevel = _
The NEXT
API level, representing an unstable draft of the next
numbered stable API level.
Sourcepub const HEAD: ApiLevel = _
pub const HEAD: ApiLevel = _
The HEAD
API level, representing the bleeding edge of development.
Sourcepub const PLATFORM: ApiLevel = _
pub const PLATFORM: ApiLevel = _
The PLATFORM
pseudo-API level, which is used in platform builds.
pub const fn from_u32(value: u32) -> Self
pub fn as_u32(&self) -> u32
pub fn as_u64(&self) -> u64
👎Deprecated: API levels are 32-bits as of RFC-0246
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApiLevel
impl<'de> Deserialize<'de> for ApiLevel
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 Ord for ApiLevel
impl Ord for ApiLevel
Source§impl PartialOrd for ApiLevel
impl PartialOrd for ApiLevel
impl Copy for ApiLevel
impl Eq for ApiLevel
impl StructuralPartialEq for ApiLevel
Auto Trait Implementations§
impl Freeze for ApiLevel
impl RefUnwindSafe for ApiLevel
impl Send for ApiLevel
impl Sync for ApiLevel
impl Unpin for ApiLevel
impl UnwindSafe for ApiLevel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)