pub enum ImageEncoderPixelFormat {
Rgb16F,
Bgra8,
Rgba8,
}展开描述
Windows API 所支持的用于图像编码的像素格式。
变体§
Trait 实现§
源代码§impl Clone for ImageEncoderPixelFormat
impl Clone for ImageEncoderPixelFormat
源代码§fn clone(&self) -> ImageEncoderPixelFormat
fn clone(&self) -> ImageEncoderPixelFormat
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. 阅读更多源代码§impl Debug for ImageEncoderPixelFormat
impl Debug for ImageEncoderPixelFormat
源代码§impl PartialEq for ImageEncoderPixelFormat
impl PartialEq for ImageEncoderPixelFormat
impl Copy for ImageEncoderPixelFormat
impl Eq for ImageEncoderPixelFormat
impl StructuralPartialEq for ImageEncoderPixelFormat
自动 Trait 实现§
impl Freeze for ImageEncoderPixelFormat
impl RefUnwindSafe for ImageEncoderPixelFormat
impl Send for ImageEncoderPixelFormat
impl Sync for ImageEncoderPixelFormat
impl Unpin for ImageEncoderPixelFormat
impl UnsafeUnpin for ImageEncoderPixelFormat
impl UnwindSafe for ImageEncoderPixelFormat
通用实现§
源代码§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
源代码§impl<T> IntoEither for T
impl<T> IntoEither for T
源代码§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left is true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多源代码§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
将
self 转换为 Left 变体,如果 Either<Self, Self>
当 into_left(&self) returns true.
Converts self into a Right 变体,如果 Either<Self, Self>
否则。 阅读更多