pub struct GameVersion {
pub major: f32,
pub minor: char,
pub patch: Option<usize>,
}Expand description
GameVersion
Fields§
§major: f32Version
minor: charPatch
patch: Option<usize>Patch revision
Trait Implementations§
Source§impl Clone for GameVersion
impl Clone for GameVersion
Source§fn clone(&self) -> GameVersion
fn clone(&self) -> GameVersion
Returns a duplicate 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 GameVersion
impl Debug for GameVersion
Source§impl Decode for GameVersion
impl Decode for GameVersion
Source§impl Default for GameVersion
impl Default for GameVersion
Source§impl Display for GameVersion
impl Display for GameVersion
Source§impl Encode for GameVersion
impl Encode for GameVersion
Source§impl FromStr for GameVersion
impl FromStr for GameVersion
Source§impl Ord for GameVersion
impl Ord for GameVersion
Source§impl PartialEq for GameVersion
impl PartialEq for GameVersion
Source§impl PartialOrd for GameVersion
impl PartialOrd for GameVersion
Source§impl Serialize for GameVersion
impl Serialize for GameVersion
impl Eq for GameVersion
Auto Trait Implementations§
impl Freeze for GameVersion
impl RefUnwindSafe for GameVersion
impl Send for GameVersion
impl Sync for GameVersion
impl Unpin for GameVersion
impl UnwindSafe for GameVersion
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more