pub enum JpegSegment {
Soi,
App(u8),
Sof,
Dht,
Sos,
Eoi,
Other(u8),
}
Expand description
JPEG segment types
Variants§
Soi
Start of Image (0xD8)
App(u8)
Application segments 0-15 (APP0-APP15)
Sof
Start of Frame (0xC0)
Dht
Define Huffman Table (0xC4)
Sos
Start of Scan (0xDA)
Eoi
End of Image (0xD9)
Other(u8)
Other segments
Trait Implementations§
Source§impl Clone for JpegSegment
impl Clone for JpegSegment
Source§fn clone(&self) -> JpegSegment
fn clone(&self) -> JpegSegment
Returns a duplicate 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 JpegSegment
impl Debug for JpegSegment
Source§impl PartialEq for JpegSegment
impl PartialEq for JpegSegment
impl Copy for JpegSegment
impl Eq for JpegSegment
impl StructuralPartialEq for JpegSegment
Auto Trait Implementations§
impl Freeze for JpegSegment
impl RefUnwindSafe for JpegSegment
impl Send for JpegSegment
impl Sync for JpegSegment
impl Unpin for JpegSegment
impl UnwindSafe for JpegSegment
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