pub struct VersionCode(/* private fields */);Expand description
An android:versionCode accepted by Google Play: 1..=2_100_000_000.
Implementations§
Source§impl VersionCode
impl VersionCode
pub const fn try_new(raw_value: u32) -> Result<Self, VersionCodeError>
Source§impl VersionCode
impl VersionCode
pub const fn into_inner(self) -> u32
Trait Implementations§
Source§impl Clone for VersionCode
impl Clone for VersionCode
impl Copy for VersionCode
Source§impl Debug for VersionCode
impl Debug for VersionCode
Source§impl Default for VersionCode
impl Default for VersionCode
Source§impl Display for VersionCode
impl Display for VersionCode
impl Eq for VersionCode
Source§impl From<VersionCode> for u32
impl From<VersionCode> for u32
Source§fn from(value: VersionCode) -> Self
fn from(value: VersionCode) -> Self
Converts to this type from the input type.
Source§impl FromStr for VersionCode
impl FromStr for VersionCode
Source§impl Hash for VersionCode
impl Hash for VersionCode
Source§impl Ord for VersionCode
impl Ord for VersionCode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VersionCode
impl PartialEq for VersionCode
Source§impl PartialOrd for VersionCode
impl PartialOrd for VersionCode
impl StructuralPartialEq for VersionCode
Auto Trait Implementations§
impl Freeze for VersionCode
impl RefUnwindSafe for VersionCode
impl Send for VersionCode
impl Sync for VersionCode
impl Unpin for VersionCode
impl UnsafeUnpin for VersionCode
impl UnwindSafe for VersionCode
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<T> CustomError for T
impl<T> CustomError for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.