Struct twmap::EmbeddedImage [−][src]
pub struct EmbeddedImage {
pub name: String,
pub image: CompressedData<RgbaImage, ImageLoadInfo>,
}Fields
name: Stringimage: CompressedData<RgbaImage, ImageLoadInfo>Implementations
Creates a embedded image using a provided image file. This function supports many more formats than just png. Errors with an io::ErrorKind::InvalidInput if the filename includes invalid utf-8
Trait Implementations
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for EmbeddedImageimpl Send for EmbeddedImageimpl Sync for EmbeddedImageimpl Unpin for EmbeddedImageimpl UnwindSafe for EmbeddedImageBlanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V