#[repr(C)]pub struct ClapVersion {
pub major: u32,
pub minor: u32,
pub revision: u32,
}
Fields§
§major: u32
§minor: u32
§revision: u32
Trait Implementations§
Source§impl Clone for clap_version
impl Clone for clap_version
Source§fn clone(&self) -> clap_version
fn clone(&self) -> clap_version
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 clap_version
impl Debug for clap_version
impl Copy for clap_version
Auto Trait Implementations§
impl Freeze for clap_version
impl RefUnwindSafe for clap_version
impl Send for clap_version
impl Sync for clap_version
impl Unpin for clap_version
impl UnwindSafe for clap_version
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