#[non_exhaustive]pub struct GraphicControl {
pub disposal: Disposal,
pub delay_centiseconds: u16,
pub transparent: Option<u8>,
}Expand description
State from a graphic control extension, applying to the next image.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.disposal: DisposalHow to dispose of the frame after displaying it.
delay_centiseconds: u16Delay before the next frame, in hundredths of a second.
transparent: Option<u8>Palette index treated as transparent, if any.
Implementations§
Trait Implementations§
Source§impl Clone for GraphicControl
impl Clone for GraphicControl
impl Copy for GraphicControl
Source§impl Debug for GraphicControl
impl Debug for GraphicControl
Source§impl Default for GraphicControl
impl Default for GraphicControl
impl Eq for GraphicControl
Source§impl PartialEq for GraphicControl
impl PartialEq for GraphicControl
impl StructuralPartialEq for GraphicControl
Auto Trait Implementations§
impl Freeze for GraphicControl
impl RefUnwindSafe for GraphicControl
impl Send for GraphicControl
impl Sync for GraphicControl
impl Unpin for GraphicControl
impl UnsafeUnpin for GraphicControl
impl UnwindSafe for GraphicControl
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