Enum png::decoder::SubframeIdx
source · enum SubframeIdx {
Initial,
Some(u32),
End,
}
Expand description
Denote a frame as given by sequence numbers.
Variants§
Initial
The initial frame in an IDAT chunk without fcTL chunk applying to it.
Note that this variant precedes Some
as IDAT frames precede fdAT frames and all fdAT
frames must have a fcTL applying to it.
Some(u32)
An IDAT frame with fcTL or an fdAT frame.
End
The past-the-end index.
Trait Implementations§
source§impl Clone for SubframeIdx
impl Clone for SubframeIdx
source§fn clone(&self) -> SubframeIdx
fn clone(&self) -> SubframeIdx
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 SubframeIdx
impl Debug for SubframeIdx
source§impl Ord for SubframeIdx
impl Ord for SubframeIdx
source§fn cmp(&self, other: &SubframeIdx) -> Ordering
fn cmp(&self, other: &SubframeIdx) -> 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 SubframeIdx
impl PartialEq for SubframeIdx
source§fn eq(&self, other: &SubframeIdx) -> bool
fn eq(&self, other: &SubframeIdx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SubframeIdx
impl PartialOrd for SubframeIdx
source§fn partial_cmp(&self, other: &SubframeIdx) -> Option<Ordering>
fn partial_cmp(&self, other: &SubframeIdx) -> 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 SubframeIdx
impl Eq for SubframeIdx
impl StructuralPartialEq for SubframeIdx
Auto Trait Implementations§
impl Freeze for SubframeIdx
impl RefUnwindSafe for SubframeIdx
impl Send for SubframeIdx
impl Sync for SubframeIdx
impl Unpin for SubframeIdx
impl UnwindSafe for SubframeIdx
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