Struct sndjvu_format::InfoVersion
source · pub struct InfoVersion {
pub major: u8,
pub minor: u8,
}
Expand description
Version information associated with the INFO
chunk.
Fields§
§major: u8
The major version.
minor: u8
The minor version.
Implementations§
source§impl InfoVersion
impl InfoVersion
Trait Implementations§
source§impl Clone for InfoVersion
impl Clone for InfoVersion
source§fn clone(&self) -> InfoVersion
fn clone(&self) -> InfoVersion
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 InfoVersion
impl Debug for InfoVersion
source§impl Display for InfoVersion
impl Display for InfoVersion
source§impl Ord for InfoVersion
impl Ord for InfoVersion
source§fn cmp(&self, other: &InfoVersion) -> Ordering
fn cmp(&self, other: &InfoVersion) -> 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 InfoVersion
impl PartialEq for InfoVersion
source§fn eq(&self, other: &InfoVersion) -> bool
fn eq(&self, other: &InfoVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for InfoVersion
impl PartialOrd for InfoVersion
source§fn partial_cmp(&self, other: &InfoVersion) -> Option<Ordering>
fn partial_cmp(&self, other: &InfoVersion) -> 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 InfoVersion
impl Eq for InfoVersion
impl StructuralEq for InfoVersion
impl StructuralPartialEq for InfoVersion
Auto Trait Implementations§
impl RefUnwindSafe for InfoVersion
impl Send for InfoVersion
impl Sync for InfoVersion
impl Unpin for InfoVersion
impl UnwindSafe for InfoVersion
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