#[repr(u32)]
pub enum ImageFormat {
L8,
La8,
R8,
Rg8,
Rgb8,
Rgba8,
Rgba4444,
Rgba5551,
Rf,
Rgf,
Rgbf,
Rgbaf,
Rh,
Rgh,
Rgbh,
Rgbah,
Rgbe9995,
Dxt1,
Dxt3,
Dxt5,
RgtcR,
RgtcRg,
BptcRgba,
BptcRgbf,
BptcRgbfu,
Pvrtc2,
Pvrtc2a,
Pvrtc4,
Pvrtc4a,
Etc,
Etc2R11,
Etc2R11s,
Etc2Rg11,
Etc2Rg11s,
Etc2Rgb8,
Etc2Rgba8,
Etc2Rgb8a1,
Max,
}
Feeds this value into the given [Hasher
]. Read more
Feeds a slice of this type into the given [Hasher
]. Read more
Formats the value using the given formatter. Read more
Performs copy-assignment from source
. Read more
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static