#[repr(C)]pub struct Emojicode_PackageVersion {
pub major: u16,
pub minor: u16,
}
Expand description
The version of a package. Must follow semantic versioning 2.0 http://semver.org
Fields§
§major: u16
The major version
minor: u16
The minor version
Trait Implementations§
Source§impl Clone for Emojicode_PackageVersion
impl Clone for Emojicode_PackageVersion
Source§fn clone(&self) -> Emojicode_PackageVersion
fn clone(&self) -> Emojicode_PackageVersion
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Emojicode_PackageVersion
impl Debug for Emojicode_PackageVersion
impl Copy for Emojicode_PackageVersion
Auto Trait Implementations§
impl Freeze for Emojicode_PackageVersion
impl RefUnwindSafe for Emojicode_PackageVersion
impl Send for Emojicode_PackageVersion
impl Sync for Emojicode_PackageVersion
impl Unpin for Emojicode_PackageVersion
impl UnwindSafe for Emojicode_PackageVersion
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