pub enum GroupOrder {
Scanline,
CenterFirst,
Diagonals,
}Expand description
Order in which a lossy VarDCT frame stores its groups. A progressive decoder renders groups as they arrive, so this is the order the image fills in. Costs a few bytes for the signaled permutation; the pixels are identical.
Variants§
Scanline
Row by row from the top left (the default).
CenterFirst
Rings around the image center, each swept clockwise from the top; with several passes, every pass fills in from the center again.
Diagonals
Both corner-to-corner diagonals first, growing out from the center, then bands ever farther from them: the image draws an X that thickens until it fills the frame.
Trait Implementations§
Source§impl Clone for GroupOrder
impl Clone for GroupOrder
impl Copy for GroupOrder
Source§impl Debug for GroupOrder
impl Debug for GroupOrder
Source§impl Default for GroupOrder
impl Default for GroupOrder
impl Eq for GroupOrder
Source§impl PartialEq for GroupOrder
impl PartialEq for GroupOrder
impl StructuralPartialEq for GroupOrder
Auto Trait Implementations§
impl Freeze for GroupOrder
impl RefUnwindSafe for GroupOrder
impl Send for GroupOrder
impl Sync for GroupOrder
impl Unpin for GroupOrder
impl UnsafeUnpin for GroupOrder
impl UnwindSafe for GroupOrder
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