[−][src]Enum super_analyzer_core::results::sdk_number::SdkNumber
Android SDK number representation.
Variants
API version 1.
API version 2.
API version 3.
API version 4.
API version 5.
API version 6.
API version 7.
API version 8.
API version 9.
API version 10.
API version 11.
API version 12.
API version 13.
API version 14.
API version 15.
API version 16.
API version 17.
API version 18.
API version 19.
API version 20.
API version 21.
API version 22.
API version 23.
API version 24.
API version 25.
API version 26.
API version 27.
API version 28.
API version 29.
Development API version.
Unknown(u32)
Unknown API version.
Methods
impl SdkNumber
[src]
Main implementation of the SDK numbers.
As per: https://developer.android.com/reference/android/os/Build.VERSION_CODES.html
pub fn number(self) -> u32
[src]
Gets the SDK API version number.
pub fn version(self) -> Option<Version>
[src]
Gets the Android version number.
pub fn name(&self) -> &str
[src]
Gets the name of the Android release.
Trait Implementations
impl From<u32> for SdkNumber
[src]
impl Clone for SdkNumber
[src]
impl Copy for SdkNumber
[src]
impl Eq for SdkNumber
[src]
fn assert_receiver_is_total_eq(&self)
[src]
impl Ord for SdkNumber
[src]
fn cmp(&self, other: &SdkNumber) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<SdkNumber> for SdkNumber
[src]
impl PartialOrd<SdkNumber> for SdkNumber
[src]
fn partial_cmp(&self, other: &SdkNumber) -> Option<Ordering>
[src]
fn lt(&self, other: &SdkNumber) -> bool
[src]
fn le(&self, other: &SdkNumber) -> bool
[src]
fn gt(&self, other: &SdkNumber) -> bool
[src]
fn ge(&self, other: &SdkNumber) -> bool
[src]
impl Debug for SdkNumber
[src]
impl StructuralPartialEq for SdkNumber
[src]
impl StructuralEq for SdkNumber
[src]
Auto Trait Implementations
impl Send for SdkNumber
impl Sync for SdkNumber
impl Unpin for SdkNumber
impl UnwindSafe for SdkNumber
impl RefUnwindSafe for SdkNumber
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self