Struct native_windows_gui::ImageSource [−][src]
pub struct ImageSource { pub decoder: *mut IWICBitmapDecoder, }
Expand description
Represents a image data source in read only mode.
Fields
decoder: *mut IWICBitmapDecoder
Implementations
Return the number of frame in the image. For most format (ex: PNG), this will be 1. It might be more than 1 in animated image formats (such as GIFs).
Return the image data of the requested frame in a ImageData object.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageSource
impl !Send for ImageSource
impl !Sync for ImageSource
impl Unpin for ImageSource
impl UnwindSafe for ImageSource