#[repr(u8)]pub enum Extension {
Text = 1,
Control = 249,
Comment = 254,
Application = 255,
}
Expand description
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 = 1
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 = 249
Control extension.
Comment = 254
Comment extension.
Application = 255
Application extension.
See ImageMagick for an idea of commonly recognized extensions.
Implementations§
Trait Implementations§
source§impl From<Extension> for AnyExtension
impl From<Extension> for AnyExtension
source§impl PartialEq for Extension
impl PartialEq for Extension
impl Copy for Extension
impl Eq for Extension
impl StructuralEq for Extension
impl StructuralPartialEq for Extension
Auto Trait Implementations§
impl RefUnwindSafe for Extension
impl Send for Extension
impl Sync for Extension
impl Unpin for Extension
impl UnwindSafe for Extension
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