Enum Extension
#[repr(u8)]
pub enum Extension
Known GIF extension labels.
These are extensions which may be interpreted by the library and to which a specification with the internal data layout is known.
Variants
-
Text = 0x01 Plain Text extension.
This instructs the decoder to render a text as characters in a grid of cells, in a mono-spaced font of its choosing. This is seldom actually implemented and ignored by ImageMagick. The color is always taken from the global table which further complicates any use. No real information on the frame sequencing of this block is available in the standard.
-
Control = 0xF9 Control extension.
-
Comment = 0xFE Comment extension.
-
Application = 0xFF Application extension.
See ImageMagick for an idea of commonly recognized extensions.
Implementations
impl Extension
const fn from_u8(n: u8) -> Option<Self>Converts
u8to aExtensionif it is known.
Trait Implementations
impl Clone for Extension
fn clone(&self) -> Self
impl Copy for Extension
impl Debug for Extension
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Extension
impl PartialEq for Extension
fn eq(&self, other: &Self) -> bool