#[repr(u8)]
pub enum Extension {
Text,
Control,
Comment,
Application,
}
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
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
Control extension.
Comment
Comment extension.
Application
Application extension.
See ImageMagick for an idea of commonly recognized extensions.
Implementations
Trait Implementations
sourceimpl From<Extension> for AnyExtension
impl From<Extension> for AnyExtension
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more