pub struct Version {
pub major: i32,
pub minor: i32,
pub patch: i32,
pub string: String,
}Expand description
The version of the igraph C library this crate is linked against, as
returned by version.
Fields§
§major: i32The major version, e.g. 1 for "1.0.1".
minor: i32The minor version, e.g. 0 for "1.0.1".
patch: i32The patch (subminor) version, e.g. 1 for "1.0.1".
string: StringThe full version string: three dot-separated numbers, possibly
followed by a dash-separated pre-release suffix
(e.g. "0.10.13-14-g997f59ad7").
Implementations§
Trait Implementations§
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for 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