Struct version_history::ApiLevel
source · 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 PartialEq for ApiLevel
impl PartialEq for ApiLevel
source§impl PartialOrd for ApiLevel
impl PartialOrd for ApiLevel
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)