#[repr(C)]
pub struct sigar_version_t { pub build_date: *const c_char, pub scm_revision: *const c_char, pub version: *const c_char, pub archname: *const c_char, pub archlib: *const c_char, pub binname: *const c_char, pub description: *const c_char, pub major: c_int, pub minor: c_int, pub maint: c_int, pub build: c_int, }

Fields§

§build_date: *const c_char§scm_revision: *const c_char§version: *const c_char§archname: *const c_char§archlib: *const c_char§binname: *const c_char§description: *const c_char§major: c_int§minor: c_int§maint: c_int§build: c_int

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.