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