#[repr(C)]pub struct pt_version {
pub major: u8,
pub minor: u8,
pub patch: u16,
pub build: u32,
pub ext: *const c_char,
}Expand description
The library version.
Fields§
§major: u8Major version number.
minor: u8Minor version number.
patch: u16Patch level.
build: u32Build number.
ext: *const c_charVersion extension.
Trait Implementations§
Source§impl Clone for pt_version
impl Clone for pt_version
Source§fn clone(&self) -> pt_version
fn clone(&self) -> pt_version
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 pt_version
impl Debug for pt_version
Source§impl Hash for pt_version
impl Hash for pt_version
Source§impl PartialEq for pt_version
impl PartialEq for pt_version
impl Copy for pt_version
impl Eq for pt_version
impl StructuralPartialEq for pt_version
Auto Trait Implementations§
impl Freeze for pt_version
impl RefUnwindSafe for pt_version
impl !Send for pt_version
impl !Sync for pt_version
impl Unpin for pt_version
impl UnwindSafe for pt_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