Struct gnuplot::GnuplotVersion
source · pub struct GnuplotVersion {
pub major: i32,
pub minor: i32,
}
Expand description
Gnuplot version identifier. This is used to handle version-specific features.
Fields§
§major: i32
§minor: i32
Trait Implementations§
source§impl Clone for GnuplotVersion
impl Clone for GnuplotVersion
source§fn clone(&self) -> GnuplotVersion
fn clone(&self) -> GnuplotVersion
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 GnuplotVersion
impl Debug for GnuplotVersion
source§impl Default for GnuplotVersion
impl Default for GnuplotVersion
source§fn default() -> GnuplotVersion
fn default() -> GnuplotVersion
Returns the “default value” for a type. Read more
source§impl Ord for GnuplotVersion
impl Ord for GnuplotVersion
source§fn cmp(&self, other: &GnuplotVersion) -> Ordering
fn cmp(&self, other: &GnuplotVersion) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for GnuplotVersion
impl PartialEq for GnuplotVersion
source§fn eq(&self, other: &GnuplotVersion) -> bool
fn eq(&self, other: &GnuplotVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GnuplotVersion
impl PartialOrd for GnuplotVersion
source§fn partial_cmp(&self, other: &GnuplotVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &GnuplotVersion) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for GnuplotVersion
impl Eq for GnuplotVersion
impl StructuralEq for GnuplotVersion
impl StructuralPartialEq for GnuplotVersion
Auto Trait Implementations§
impl RefUnwindSafe for GnuplotVersion
impl Send for GnuplotVersion
impl Sync for GnuplotVersion
impl Unpin for GnuplotVersion
impl UnwindSafe for GnuplotVersion
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