#[repr(C)]pub struct ForgeVersion {
pub major: u16,
pub minor: u16,
pub patch: u16,
}Fields§
§major: u16§minor: u16§patch: u16Trait Implementations§
Source§impl Clone for ForgeVersion
impl Clone for ForgeVersion
Source§fn clone(&self) -> ForgeVersion
fn clone(&self) -> ForgeVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ForgeVersion
impl Debug for ForgeVersion
Source§impl PartialEq for ForgeVersion
impl PartialEq for ForgeVersion
Source§fn eq(&self, other: &ForgeVersion) -> bool
fn eq(&self, other: &ForgeVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ForgeVersion
impl Eq for ForgeVersion
impl StructuralPartialEq for ForgeVersion
Auto Trait Implementations§
impl Freeze for ForgeVersion
impl RefUnwindSafe for ForgeVersion
impl Send for ForgeVersion
impl Sync for ForgeVersion
impl Unpin for ForgeVersion
impl UnsafeUnpin for ForgeVersion
impl UnwindSafe for ForgeVersion
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